evenjc

Motor spin [lib]

Jun 4th, 2019
298
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include <Zumo32U4.h>
  2.  
  3. Zumo32U4Motors motors;
  4.  
  5. void setup() {
  6.  
  7. }
  8.  
  9. void loop() {
  10.   motors.setSpeeds(200, -200);
  11.   delay(3000);
  12.   motors.setSpeeds(-200, 200);
  13.   delay(3000);
  14. }
Advertisement
Add Comment
Please, Sign In to add comment