1548 views|1 replies

973

Posts

15

Resources
The OP
 

[Qinheng Trial] Three CH549 uses pwm to adjust the brightness of the lamp [Copy link]

 

The brightness of the LED is adjusted by PWM and controlled by touch buttons.

When the button is touched, the duty cycle gradually increases and remains constant when it is released. Touch buttons k1 and k2 respectively control pwm channels 0 and 1 (i.e. D4 and D5). Hardware schematics and related materials, the first post has a download link.

The procedure is as follows:

pwm_led.C (2.82 KB, downloads: 15)

The video is as follows:




This content is originally created by a netizen named Xiaobai from EEWORLD forum . If you want to reprint or use it for commercial purposes, you must obtain the author's consent and indicate the source.

This post is from Domestic Chip Exchange

Latest reply

Thanks for sharing   Details Published on 2021-4-22 17:37
Personal signature我来到这个世界,就是为了遇见你。在某天我们会相遇,然后在一起,直到最后一起离去。
 
 

661

Posts

0

Resources
2
 

Thanks for sharing

This post is from Domestic Chip Exchange
 
 
 

Just looking around
Find a datasheet?

EEWorld Datasheet Technical Support

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京B2-20211791 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号
快速回复 返回顶部 Return list