Temperature sensor¶
The micro:bit has a temperature sensor inside the ARM micro-controller itself.
It’s not very precise, but can detect very accurately variations in temperature.
The block for the micro:bit Blocks editor is
While with Micropython you can access temperature in degrees (C) with:
print microbit.temperature()