![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
MBED Framework with communication to be tested
SPICOMMANDS.h
- Committer:
- AndrewLouw
- Date:
- 2017-07-23
- Revision:
- 4:85bc76bb6fdb
- Parent:
- 0:a32d085719df
File content as of revision 4:85bc76bb6fdb:
//Slave list #define ERROR 0x00 #define MEGA1 0x01 #define MEGA2 0x02 #define MEGA3 0x03 // each mega needs its own number they must all be different. // NOTE: This must match the command list in the MEGA headder. // command list #define ERROR 0x00 #define MOTOR_GOTO 0x01 #define ENCODER_READ 0X02