source:
rtos_arduino/trunk/arduino_lib/libraries/Robot_Motor/examples/Robot_Motor_Core/Robot_Motor_Core.ino
Last change on this file was 136, checked in by , 8 years ago | |
---|---|
File size: 349 bytes |
Rev | Line | |
---|---|---|
[136] | 1 | /* Motor Core |
2 | ||
3 | This code for the Arduino Robot's motor board | |
4 | is the stock firmware. program the motor board with | |
5 | this sketch whenever you want to return the motor | |
6 | board to its default state. | |
7 | ||
8 | */ | |
9 | ||
10 | #include <ArduinoRobotMotorBoard.h> | |
11 | ||
12 | void setup() { | |
13 | RobotMotor.begin(); | |
14 | } | |
15 | void loop() { | |
16 | RobotMotor.parseCommand(); | |
17 | RobotMotor.process(); | |
18 | } |
Note:
See TracBrowser
for help on using the repository browser.