Jump to content

DonCopal

Eurobricks New Members
  • Posts

    2
  • Joined

  • Last visited

About DonCopal

Recent Profile Visitors

553 profile views
  1. I am only using one light sensor. Can you suggest me a code structure that you would use? It sould always drive on white background, when it hits the black lines, it shall turn two both sides to figure out which side is the right one and drive again.
  2. Hi, I am a complete mindstorms newbie, and I have a problem with programming it. Basically, I want it to drive between two black lines. I have already written a program for it, the only problem is that I have a loop that I need to connect two logical interrupts to. You can see it in the picture: I want the loop to be interrupted by both light sensor blocks' logic output, but it seems to be impossible. I cannot use an OR block because it would have to be after both light sensor blocks at the same time (it has to stop immediately after the sensor block). Is there any solution to this? Best regards DonCopal
×
×
  • Create New...