Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <FNQR.h>
- FNQR robot;
- void setup() {
- robot.Start();
- }
- void loop() {
- // advance 3 steps
- robot.CrawlForward();
- robot.CrawlForward();
- robot.CrawlForward();
- // turn 22.5° to the left
- robot.TurnLeft();
- }
Add Comment
Please, Sign In to add comment