fourstix / QwiicSerLCD

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

Add SPI support to library. Refactor comm mode selection #9

Closed fourstix closed 6 years ago

fourstix commented 6 years ago

Override begin function to accept SPI object and a csPin. Add logic to beginTransmission, transmit and endTransmission methods to handle SPI communication. Refactored comm mode selection to use comm port pointers rather than separate flags to select the comm mode. Make sure all begin statements properly set unused comm port pointers to NULL.

fourstix commented 6 years ago

Closes #8