Remote controlled robot with LEDs and Wemos motor shield

Dependencies:   RF24 mbed

main.h

Committer:
Makodan
Date:
2017-09-27
Revision:
0:51c02b15eb70

File content as of revision 0:51c02b15eb70:

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;