Guest User

Untitled

a guest
Mar 17th, 2018
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. #include <FNQR.h>
  2.  
  3. FNQR robot;
  4.  
  5. void setup() {
  6. robot.Start();
  7. }
  8.  
  9. void loop() {
  10. // advance 3 steps
  11. robot.CrawlForward();
  12. robot.CrawlForward();
  13. robot.CrawlForward();
  14.  
  15. // turn 22.5° to the left
  16. robot.TurnLeft();
  17. }
Add Comment
Please, Sign In to add comment