Remote controlled robot with LEDs and Wemos motor shield

Dependencies:   RF24 mbed

Committer:
Makodan
Date:
Wed Sep 27 16:03:48 2017 +0000
Revision:
0:51c02b15eb70
Remote controlled robot with LEDs and Wemos motor shield

Who changed what in which revision?

UserRevisionLine numberNew contents of line
Makodan 0:51c02b15eb70 1 enum{
Makodan 0:51c02b15eb70 2 OFF = 0,
Makodan 0:51c02b15eb70 3 RED = 1,
Makodan 0:51c02b15eb70 4 GREEN = 2,
Makodan 0:51c02b15eb70 5 BLUE = 3,
Makodan 0:51c02b15eb70 6 YELLOW = 4,
Makodan 0:51c02b15eb70 7 MAGENTA = 5,
Makodan 0:51c02b15eb70 8 CYAN = 6,
Makodan 0:51c02b15eb70 9 WHITE = 7
Makodan 0:51c02b15eb70 10 };
Makodan 0:51c02b15eb70 11
Makodan 0:51c02b15eb70 12 typedef struct{
Makodan 0:51c02b15eb70 13
Makodan 0:51c02b15eb70 14 uint16_t ID;
Makodan 0:51c02b15eb70 15 uint16_t dir_L;
Makodan 0:51c02b15eb70 16 float pwm_L;
Makodan 0:51c02b15eb70 17 uint16_t dir_R;
Makodan 0:51c02b15eb70 18 float pwm_R;
Makodan 0:51c02b15eb70 19 uint16_t led;
Makodan 0:51c02b15eb70 20
Makodan 0:51c02b15eb70 21 }dataIN;
Makodan 0:51c02b15eb70 22