Advertisement
Guest User

Untitled

a guest
Jul 23rd, 2017
47
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.39 KB | None | 0 0
  1. #include <SmartInventor.h>
  2. void setup() {
  3. // put your setup code here, to run once:
  4. SmartInventor.DCMotorUse();
  5. }
  6.  
  7. void loop() {
  8. // put your main code here, to run repeatedly:
  9. SmartInventor.DCMove(forward, 50);
  10. delay(1000);
  11. SmartInventor.DCMove(right, 50);
  12. delay(500);
  13. SmartInventor.DCMove(left, 50);
  14. delay(500);
  15. SmartInventor.DCMove(backward, 50);
  16. delay(1000);
  17. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement