Voting resources, early voting, and poll worker information - VOTE. ... Adafruit is open and shipping.
0

OLED 1351 library does not work on SPI Arduino Due
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

OLED 1351 library does not work on SPI Arduino Due

by JakeQuinn on Tue Mar 24, 2020 9:30 am

I have bought an OLED SSD1315 display from adafruit. and i am having a hard time making it work on my arduino due. I have been searching for the source code for any clue and it would seem that the SPITFT library where the SSD1351 library inherited say there might be some modifications needed Quote from the SPITFT.h (line 54) source code

Code: Select all | TOGGLE FULL SIZE
// Arduino Due?
typedef uint32_t ADAGFX_PORT_t; ///< PORT values are 32-bit
// USE_FAST_PINIO not available here (yet)...Due has a totally different
// GPIO register set and will require some changes elsewhere (e.g. in
// constructors especially).
#endif


I need help what to modify !!

I have done some testing and the arduino uno peforms better in SOFT SPI can fill the screen faster compared to dues, and in TRUE SPI the uno fills the screen in an instant while the due does not simply work


Fill screen with black time in milliseconds(ms):

------------------------UNO------------DUE---------
SOFT SPI------------710-------------1687---------
TRUE SPI-------------63------------FAILED------


please help on how to fix it

JakeQuinn
 
Posts: 8
Joined: Fri Oct 25, 2019 6:27 am

Please be positive and constructive with your questions and comments.