![](/media/cache/group/default_image.jpg.50x50_q85.jpg)
Remote controlled robot with LEDs and Wemos motor shield
Diff: main.h
- Revision:
- 0:51c02b15eb70
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/main.h Wed Sep 27 16:03:48 2017 +0000 @@ -0,0 +1,22 @@ +enum{ + OFF = 0, + RED = 1, + GREEN = 2, + BLUE = 3, + YELLOW = 4, + MAGENTA = 5, + CYAN = 6, + WHITE = 7 + }; + +typedef struct{ + + uint16_t ID; + uint16_t dir_L; + float pwm_L; + uint16_t dir_R; + float pwm_R; + uint16_t led; + + }dataIN; +