Sample code for reading temperature and light from the Microbit sensor bit

Like 0

You must write a comment to post it!

2 Comment(s)

Christopher
Oct 13, 2020

Partial Accessory Guide for Microbits https://microbit.org/buy/accessories/ Click on the Black & White Link
The sensor used for this code is Microsoft sensor bit. The sensor has 3 inputs (temp, light, sound).
A good extension is Envrionment Bit Kit as it looks like it maps several common inputs/outputs with the block coding. Just select the blocks and adjust the pin numbers to fit your setup.


Andrew McDonald
Oct 11, 2020

Which expansion board are you using for this code?


Andrew McDonald
Oct 11, 2020

Oh I see it now. Thanks for sharing!!