I’m trying to use the BMP180 temperature sensor as a way to tell me that it’s cold outside. It’s supposed to send me a message saying just “Cold” on a 128x64 OLED Display. I’m just not able to figure out the right code I need to use. This is my progress so far:
if (bmp.readTemperature() <= 10.00) {
display.clearDisplay();
display.setCursor(70, 20);
display.print("Cold");
display.display();
What do I need to do in order to make it work? If I should provide more code lmk.
You need to tell us;
what its running on ;
and ALL your code - or if its REALLY too big, all the bits that relate to the bmp180
and how you have it connected
and what results you are getting.
"It doesnt work" really does not help with diagnostics.