Hi,
I have been using a cubecell AB02 with some I2C sensors on LoRaWan for some time. It was battery driven but now it will be using external power so I decided to turn the display on permanent and display some sensor values. Regretfully I can not get it to work. The sensors are on the second I2C and in the past I used wire.begin(500000,1); and it was working fine. But together with the display I can’t get it to work.
First there was the issue with display being defined twice but I solved that with the “extern SH1107Wire display;”
But after that I still can not get it working. Both can work (depending which I call first) but once 1 has worked, the other one can not work anymore.
I also took a look at the LoRaWan_OLED example but that looks quite different and has specific LoRaWan.display() functions. Also a lot less lib are included.
Could you please help me how to call the Wire.begin and which files need to be included to combine sensor data, a display function and LoRaWan?
Best regards
Could you explain me how to call both I2C’s and which