B4R Question Sensor data on SSD1306

Cesar_Morisco

Active Member
Licensed User
Longtime User
Hey guys
My DS18B20 sensor is blurring the 3 digits on the SSD1306 display
can anybody help me
[CODE lang="b4x" title="SSD1306"]Log("Temperature = ", NumberFormat(celsius,0,2),"°C")
'ssd.ClearDisplay
ssd.GFX.SetCursor(15,18)
ssd.GFX.ConfigureText(2,ssd.WHITE,False)
'ssd.GFX.DrawText(NumberFormat(celsius,0,1))
ssd.GFX.DrawText("T:").DrawText(NumberFormat(celsius,0,1))
ssd.GFX.DrawText(" oC")
ssd.Display[/CODE]
 

Attachments

  • 20230720_153004.jpg
    20230720_153004.jpg
    97.7 KB · Views: 495
Why do you think it is the sensor that blur the display ?
If the relays are operated, it is more likely them.
 
Upvote 0
Hey guys
Thanks for the answers
It was my mistake as usual
A code detailer
[CODE lang="b4x" title="SSD1306"] ssd.ClearDisplay "kkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
[/CODE]

Thank you from the heart
 
Upvote 0
Back
Top