Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <SmartInventor.h>
- void setup() {
- // put your setup code here, to run once:
- SmartInventor.DCMotorUse();
- }
- void loop() {
- // put your main code here, to run repeatedly:
- SmartInventor.DCMove(forward, 50);
- delay(1000);
- SmartInventor.DCMove(right, 50);
- delay(500);
- SmartInventor.DCMove(left, 50);
- delay(500);
- SmartInventor.DCMove(backward, 50);
- delay(1000);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement