{blog.withcode.uk}

Free computing teaching and learning resources.

Python microbit basics: buttons and touch pins

This beginners tutorial talks you through how to write python programs for a micro:bit that can respond when you press a button or touch one of the input pins along the bottom of the device. The code below turns a micro:bit into a counter: press button A to count down, button B to count up and

Read More…

%d bloggers like this: