Hi,
I'm trying to get the buzzer to sound, but all I can achieve is a faint clicking noise.
Could you please provide a sample code that would produce a buzzer noise?
Thanks
Google Chat: zj734465502@gmail.com
+86-0755-88291180
sales01@spotpear.com
dragon_manager@163.com
services01@spotpear.com
manager01@spotpear.com
WhatsApp:13246739196
Hi,
I'm trying to get the buzzer to sound, but all I can achieve is a faint clicking noise.
Could you please provide a sample code that would produce a buzzer noise?
Thanks
Call lv_timer_handler to have LVGL handle graphical interface tasks;
Read the status of the input pin, and perform debouncing processing;
Based on the state of the button (pressed or released) and the time interval, determine whether it is a single click, double click, or long press event, and update the label text on the display to show the corresponding event information;
At the same time, for the long press event, the buzzer will be triggered, and when released, the buzzer will be stopped and the specific output pin will be set to a low level.
report
report