tempr not working


Author Message
Peter63
Senior Member

Joined: 28/07/2017
Location: Sweden
Posts: 197
Posted: 07:18am 21 May 2026      

Have tried connecting DS18S20 (yes S20)  
Getting strange values, have tested 4 out of 10 that I have...
> new
> tempr(gp7)
10.625
> tempr(gp7)
10.625
> tempr(gp7)
10.625
> tempr(gp7,170)
10.625
> tempr(gp7,170)
10.625
> tempr(gp7,800)
3.1875
> tempr(gp7,800)
3.1875
> tempr(gp7,800)
3.1875


I have a temperature of 25 degrees in the room.

using PicoMite MMBasic USB RP2350B Edition V6.03.00RC10


tested and the device DS18S20, works on an Arduino UNO (5V)

/Peter63
Edited 2026-05-21 17:50 by Peter63