Program a Compass
Micro:bit and battery pack
forever
set degrees = compass heading
Now we need to duplicate this for the other directions:
Last updated
Micro:bit and battery pack
forever
set degrees = compass heading
Last updated
if degress < 45 OR > 315
show "N"