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

Incompatible with Arduino Due #1

Closed timotto closed 5 years ago

timotto commented 10 years ago

There's an issue with PROGMEM in glcdfont.c and Adafruit_SSD1351.cpp (Adafruit_GFX, does it right) as well as the bitbanging SPI implementation:

C:\Arduino\libraries\Adafruit_SSD1351\Adafruit_SSD1351.cpp: In member function 'void Adafruit_SSD1351::spiwrite(uint8_t)': C:\Arduino\libraries\Adafruit_SSD1351\Adafruit_SSD1351.cpp:45: error: base operand of '->' is not a pointer C:\Arduino\libraries\Adafruit_SSD1351\Adafruit_SSD1351.cpp:46: error: base operand of '->' is not a pointer C:\Arduino\libraries\Adafruit_SSD1351\Adafruit_SSD1351.cpp:56: error: '_BV' was not declared in this scope

...

C:\Arduino\libraries\Adafruit_SSD1351\Adafruit_SSD1351.cpp: In member function 'void Adafruit_SSD1351::begin()': C:\Arduino\libraries\Adafruit_SSD1351\Adafruit_SSD1351.cpp:267: error: invalid conversion from 'Pio* const' to 'uint8_t'

SorenAndreasen commented 6 years ago

i have not encountered this issue with my Due yet

ladyada commented 5 years ago

hiya this repo has been majorly refactored and should work with Due now - please reopen if it doesnt :)