Last change
on this file since 201 was 136, checked in by ertl-honda, 9 years ago |
ライブラリとOS及びベーシックなサンプルの追加.
|
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.