Shop OBEX P1 Docs P2 Docs Learn Events
IR Corner Escape help — Parallax Forums

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.
  • 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!
Sign In or Register to comment.