Closed fourstix closed 6 years ago
Refactor code to handle Serial, I2C/Qwiic and SPI communication modes. Create a mode flag, and have beginTransmission, transmit and endTransmission private methods handle the appropriate begin, transmit and end logic for each communication mode.
Refactor code to handle Serial, I2C/Qwiic and SPI communication modes. Create a mode flag, and have beginTransmission, transmit and endTransmission private methods handle the appropriate begin, transmit and end logic for each communication mode.