micro:bit - keep right, straight on or left
This page is mainly about micro:bit - keep right, straight on or left
BL / PY : Now change your script so that the default behaviour is to keep straight on (north arrow) but if you press button A, it shows keep left (south west arrow) or if you press button B, it shows keep right (south east arrow). Both buttons would set the display back to 'keep straight on'. NOTE : The micropython version of this must use the button.is_pressed() method which doesn't behave as nicely in this situation as the block version 😦
Last modified: August 3rd, 2022