Why not help your students work towards their fitness goals by integrating coding into gym class?
The sample program shown below was designed to randomly select and display an exercise for students to complete. When the micro:bit detects a shake, it will pick a random number from 0 through 7. It will then display the number of repetitions and name of the exercise on the LED array corresponding to the number that was randomly selected.
Try shaking up your gym class by having students code their own fitness challenges!
If you’d like to remix or tinker with this sample program in the MakeCode editor, check out this link: https://makecode.microbit.org/_dmx44dJy55b3