#ifndef IR_H #define IR_H #include #include #include #include "consts.h" struct IRData { uint8_t mode; uint8_t pins[IR_COUNT]; uint8_t count; uint8_t data[8]; }; class IR { public: static TwoWire *i2c; static IRData data; static void init(); static void update(); }; #endif