I found today that if you use the FTOLED / OLED128 display along with a OneWire Dallas temperature sensor, it is necessary to initialise the DallasTemperature object before the OLED128.
My code was calling oled.begin() before the (DallasTemperatures).begin(), and the latter call was locking-up. With the calls reversed it worked fine.
Hope this saves someone a couple of hours.
I only worked out the problem after uploading a simple temperature-tester programme, which worked 100% OK, even with the OLED128 still wired into the circuit.
128x128 pixel 1.5" full colour OLED display with MicroSD card slot. [Product page]
2 posts •Page 1 of 1