emulation of temperature

This commit is contained in:
Peli de Halleux
2016-03-14 14:03:31 -07:00
parent 7f57eda606
commit 8277063e71
5 changed files with 66 additions and 7 deletions

View File

@ -108,7 +108,7 @@ namespace input {
* Gets the temperature in Celsius degrees (°C).
*/
//% weight=55 icon="\uf06d"
//% help=functions/temperature shim=uBit.thermometer.getTemperature
//% help=functions/temperature shim=micro_bit::temperature
//% blockId=device_temperature block="temperature (°C)" blockGap=8
export function temperature(): number {
return 0;