/PIC Stuff/Cerebot_32MX7_LED_Cube/CONTROLLERS.h |
---|
10,7 → 10,7 |
#define CONTROLLER_START_ADDRESS 0x01 |
#define CONTROLLER_END_ADDRESS 0x08 |
#define CONTROLLER_MAX_COUNT 4 |
#define CONTROLLER_MAX_COUNT 8 |
#define CONTROLLER_BRIGHTNESS_HIGH 0x80 |
54,6 → 54,7 |
void (*change_callback)(uint8_t controller, CTRL_BTN_STATUS values); |
uint8_t connected_count; |
uint8_t next_poll; |
uint8_t connected_controllers[CONTROLLER_MAX_COUNT]; |
CTRL_LED_VALUES led_status[CONTROLLER_MAX_COUNT]; |
CTRL_BTN_STATUS btn_prev[CONTROLLER_MAX_COUNT]; |