adafruit / Adafruit-SSD1351-library

Adafruit library for the 1.27" and 1.5" color OLEDs in the shop
http://www.adafruit.com/products/1431
Other
107 stars 49 forks source link

Added Arduino Primo support #15

Closed Vogs27 closed 5 years ago

Vogs27 commented 6 years ago

Added Arduino Primo (NRF52832 based board) support It uses DigitalWrite methods because the high complexity of port register manipulation on arm m4. On the other boards it remains the same of the old version. Because of the high complexity of GPIO handling, software SPI is not available (only with Arduino Primo board). The selection of the board is made using preprocessor directives, checking which board is selected.

Tested on Arduino Primo and Uno.

I hope that could be useful to all

ladyada commented 5 years ago

hiya this code is now in SPITFT/Adafruit_GFX, if Primo doesn't work still, please add the support there!