mirror of
https://github.com/YikeStone/ros_arduino_bridge.git
synced 2025-08-03 11:14:08 +05:30
Updated the README to use the new ROSArduinoBridge library instead of the MegaRobogaiaPololu sketch
This commit is contained in:
parent
4c057db685
commit
b9913e6d6a
@ -118,6 +118,7 @@ The ROSArduionLibrary accepts single-letter commands over the serial port for po
|
|||||||
|
|
||||||
The list of commands can be found in the file commands.h. The current list includes:
|
The list of commands can be found in the file commands.h. The current list includes:
|
||||||
|
|
||||||
|
<pre>
|
||||||
#define ANALOG_READ 'a'
|
#define ANALOG_READ 'a'
|
||||||
#define GET_BAUDRATE 'b'
|
#define GET_BAUDRATE 'b'
|
||||||
#define PIN_MODE 'c'
|
#define PIN_MODE 'c'
|
||||||
@ -131,6 +132,7 @@ The list of commands can be found in the file commands.h. The current list incl
|
|||||||
#define UPDATE_PID 'u'
|
#define UPDATE_PID 'u'
|
||||||
#define DIGITAL_WRITE 'w'
|
#define DIGITAL_WRITE 'w'
|
||||||
#define ANALOG_WRITE 'x'
|
#define ANALOG_WRITE 'x'
|
||||||
|
</pre>
|
||||||
|
|
||||||
For example, to get the analog reading on pin 3, use the command:
|
For example, to get the analog reading on pin 3, use the command:
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user