Victoria Gough
/
TrackingTempRead_test
Testing code for just temperature test
SPICOMMANDS.h
- Committer:
- vickygough
- Date:
- 2017-09-04
- Revision:
- 0:584ea5db2696
File content as of revision 0:584ea5db2696:
//Slave list #define ERROR 0x00 // slave addresses #define MEGA1 0x01 #define SPLITMEGA_FR 0x02 //split mega front right #define SPLITMEGA_FL 0x03 #define MEGA4 0x04 #define MEGA5 0x05 // each mega needs its own number they must all be different. // NOTE: This must match the command list in the MEGA headder. //define commands #define do_nothing 0x00 // sent by mbed to just read whats currently in buffer on arduino. no action from arduino required #define read_position_only 0x01 #define request_temps 0x02 #define read_onetemp_only 0x03 #define move_motor_position 0x04 #define move_motor_manual 0x05 #define set_zero 0x06 //calibration