Dear friends,
maybe I'm obsessing all of you, but my battle between Arduino Nano Every and the SH1106 display seems to have no break or end.
Copying (!!) different projects, I invariably get the same error message:
C:\Users\lenovo\Documents\Arduino\libraries\Adafruit_SH1106-master\Adafruit_SH1106.cpp: In member function 'void Adafruit_SH1106::display()':
C:\Users\lenovo\Documents\Arduino\libraries\Adafruit_SH1106-master\Adafruit_SH1106.cpp:551:28: error: 'TWBR' was not declared in this scope
uint8_t twbrbackup = TWBR;
^~~~
C:\Users\lenovo\Documents\Arduino\libraries\Adafruit_SH1106-master\Adafruit_SH1106.cpp:551:28: note: suggested alternative: 'TWI0'
uint8_t twbrbackup = TWBR;
^~~~
TWI0
I can't avoid or coregger them.
Could you help me?
Thanks in advance and sorry for the annoyance.
IZ5FCY Roberto
Hi Delta_G,
your objection is right, but as you can read from J-M-L ( which I thank) the SH1106 library ( or the various similar libraries used up to now) have not given useful results.
In the university site from which I have drawn several projects, there is a lot of use of the SH1106 Oled display in conjunction with Arduino Nano Every and in this regard I have emailed to the authors of the projects clarifications regarding the libraries used by them, but so far I have not received a response.
From the photos of the realizations and the tests performed, the "suspect" pair seems to work and I have so far installed several versions of libraries, but they have not given any results.
That's why I again asked for help in identifying a compatible library.