[SOLVED] FTOLED + DallasTemperature sensor

128x128 pixel 1.5" full colour OLED display with MicroSD card slot. [Product page]
Post Reply
Joined:Tue Jan 07, 2014 7:45 am
Location:Lake Macquarie, NSW
[SOLVED] FTOLED + DallasTemperature sensor

Post by krt » Thu Jan 09, 2014 1:02 am


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.

Joined:Sat Apr 09, 2016 10:46 am

Re: [SOLVED] FTOLED + DallasTemperature sensor

Post by shippy__ » Sat Apr 09, 2016 12:59 pm

sounds like it will save me some time shortly

cheers budd

Post Reply