IR Corner Escape help

I tried creating a code that can navigate through a maze, and I can't see what is stopping my corner escape from working. I appreciate any help. Thank you.

Comments

  • From what I can tell(reading from an iPhone), it looks like your stuck detector is running before the do...loop starts and is never being checked except on startup.
    Try moving it into the main do...loop.
    Windows 10 Home:
    Propeller Tool 1.3.2, BASIC Stamp Editor 2.5.4, Javelin Stamp IDE x.x.x, Arduino IDE, PST
    Hardware:
    BASIC Stamp Board of Education, Propeller Board of Education, Propeller Project Board, Propeller Mini

    Me, a programmer in English class, asking for grammar help: “What is the syntax for this statement?”
  • From what I can tell(reading from an iPhone), it looks like your stuck detector is running before the do...loop starts and is never being checked except on startup.
    Try moving it into the main do...loop.

    Works perfectly now. Thanks!
  • No problem!
    Windows 10 Home:
    Propeller Tool 1.3.2, BASIC Stamp Editor 2.5.4, Javelin Stamp IDE x.x.x, Arduino IDE, PST
    Hardware:
    BASIC Stamp Board of Education, Propeller Board of Education, Propeller Project Board, Propeller Mini

    Me, a programmer in English class, asking for grammar help: “What is the syntax for this statement?”
Sign In or Register to comment.