Tag Archives: Science Classes

Using the BBC Microbit to code frequency generator⤴

from @ Helpmyphysics

If you are investigating sound frequency while studying waves and have access to a BBC Microbit then have some fun coding to hear the octave of a frequency.
An octave means that the frequency is doubled. Pressing one button creates a sound of frequency 256 Hz and pressing the other double the frequency to 512 Hz.
Have some computing physics fun with the microbit.

The above code can be typed into the microbit python editor.

Microbit python editor here