7 namespace m5stack_8angle {
9 static const uint8_t M5STACK_8ANGLE_REGISTER_ANALOG_INPUT_12B = 0x00;
10 static const uint8_t M5STACK_8ANGLE_REGISTER_ANALOG_INPUT_8B = 0x10;
11 static const uint8_t M5STACK_8ANGLE_REGISTER_DIGITAL_INPUT = 0x20;
12 static const uint8_t M5STACK_8ANGLE_REGISTER_RGB_24B = 0x30;
13 static const uint8_t M5STACK_8ANGLE_REGISTER_FW_VERSION = 0xFE;
22 void setup()
override;
void dump_config() override
float read_knob_pos(uint8_t channel, AnalogBits bits=AnalogBits::BITS_8)
Implementation of SPI Controller mode.
float get_setup_priority() const override
int32_t read_knob_pos_raw(uint8_t channel, AnalogBits bits=AnalogBits::BITS_8)
This Class provides the methods to read/write bytes from/to an i2c device.