![]() |
Forum Index : Microcontroller and PC projects : Cant display temterature
Author | Message | ||||
Desw Newbie ![]() Joined: 20/02/2017 Location: AustraliaPosts: 5 |
This is my first post to any forum.Have taken up interest in the Micromite since reading about it in Silicon chip.Have worked with the picaxe but liked the idea of touch screen control.My problem is getting a DS18B20 to display its temperature on the LCD.Using the code TEXT MM.HRes/2,MM.VRes/4,DS18B20$,CM,1,4,RGB(CYAN),RGB(BLUE)does not return any errors but will not show temperature reading.Have spent a lot of time trying to figure out how to without any luck Would be very thankfull if some one could help out. Hardware is working as the temp shows up on the conscole. |
||||
TassyJim![]() Guru ![]() Joined: 07/08/2011 Location: AustraliaPosts: 6269 |
Welcome to the forum. Can you get any text to display on the LCD? Can you get the temperature to display on the console as a string? DS18B20$ = str$(TEMPR(pin_number)) PRINT DS18B20$ That will confirm the reading part. Only then can you try and display it. Jim VK7JH MMedit |
||||
Desw Newbie ![]() Joined: 20/02/2017 Location: AustraliaPosts: 5 |
Thanks for replying Have displayed text time date etc on LCD Have displayed temp on console Will try with your code Thanks again |
||||
Desw Newbie ![]() Joined: 20/02/2017 Location: AustraliaPosts: 5 |
Thank you TassyJim Tried your code it worked Are u from Tasmania by any chance |
||||
TassyJim![]() Guru ![]() Joined: 07/08/2011 Location: AustraliaPosts: 6269 |
What makes you think that? North-West. VK7JH MMedit |
||||
![]() |
![]() |
The Back Shed's forum code is written, and hosted, in Australia. | © JAQ Software 2025 |