DS18B20 module, support single bus control, and read temperature.
Example for JavaScript
basic.forever(() => {
serial.writeValue("temp ", DS18B20.TemperatureNumber(DS18B20.pin.pin0))
basic.pause(1000)
serial.writeLine("temp : " + DS18B20.TemperatureString(DS18B20.pin.pin0))
basic.pause(1000)
})
GUI