ST AN3277 APPLICATION NOTE handbook

This application note describes how to use the STM8S-DISCOVERY touch sensing key and the Beeper peripheral to adjust the frequency of the buzzer. When the STM8S105C6T6 is powered up through a USB cable connected to the host PC, the LED LD1 turns on, indicating that the programming has been successfully completed. Each time the TS1 key is pressed, the Beeper emits a beep at different frequencies (1kHz, 2kHz, and 4kHz). The Beeper stops emitting sound when TS1 is pressed for the fourth time, and it can be restarted by pressing TS1 again.


Brand
STMicroelectronics
File format
PDF
Published
06 August, 2012
Updated
29 September, 2023
MD5 checksum
6E5FB5D9402337EFC1DACCB5E23E4770
Download PDF

More STMicroelectronics Manuals


View all STMicroelectronics manuals →