Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Programming Things Assignment 1 Wiki
- Task 1 - Control Zumo using WASD:
- I completed this task by creating code to wait for a serial input and then using a switch statement to determine as to what would be done when serial input was received. I declared a variable motorSpeed to help with setting the motorSpeed for the different inputs. W and S were used to control forward and backwards respectively and the zumo would continue in these directions unless another serial input was received. Input of A and D turned the zumo left and right respectively and q was used to stop.
- Task 2
- Task 3
- Task 4
- Task 5
- Task 6
- Task 7
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement