Lab 05. micro:bit speaker

Schematics

This portion of the schematics shows how the speaker is connected to the target MCU.

How can the speaker generate a constant tone, for example at 440 Hz?

What is the exact nRF52833 pin the firmware needs to control to generate sound?

00std_speaker_1_cpu project

Load the project on your micro:bit.

How do modify the project to have a higher tone? A lower?

00std_speaker_2_pwm project

Load and run the project.