diff --git a/README.md b/README.md index 9764646..1e3a977 100644 --- a/README.md +++ b/README.md @@ -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: +
#define ANALOG_READ 'a' #define GET_BAUDRATE 'b' #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 DIGITAL_WRITE 'w' #define ANALOG_WRITE 'x' +For example, to get the analog reading on pin 3, use the command: