emulation of temperature
This commit is contained in:
1 parent
7f57eda606
commit
8277063e71
5 files changed
+66
-7
No files matched your search
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user