fourstix / QwiicSerLCD

Version of Arduino LiquidCrystal Library for Sparkfun Serial Enabled LCD with a Qwiic Adapter
MIT License
1 stars 14 forks source link

Refactor code for multiple communication modes #5

Closed fourstix closed 6 years ago

fourstix commented 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.