1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
#ifndef FPM_R503_H #define FPM_R503_H #include <stdint.h> typedef enum { RED = 0x01, BLUE = 0x02, PURPLE = 0x03 } COLOR; uint8_t fpm_init(void); void fpm_led_on(COLOR color); void fpm_led_off(void); uint8_t fpm_clear_db(void); #endif /* FPM_R50_H */