BUZZ Click example.
Description
This example demonstrates the use of Buzz click boards.
The demo application is composed of two sections :
Application Init
Initializes the driver and logger.
Application Task
Plays the Imperial March melody. Also logs an appropriate message on the USB UART.
Additional Functions
imperial_march( void ) - this function plays the Imperial March melody.
- Note
- The minimal PWM Clock frequency required for this example is the frequency of tone C6 - 1047 Hz. So, in order to run this example and play all tones correctly, the user will need to decrease the MCU's main clock frequency in MCU Settings for the certain architectures in order to get the required PWM clock frequency.
- Author
- Stefan Ilic