975 views|0 replies

1w

Posts

16

Resources
The OP
 

[RTT & Infineon PSoC6 evaluation board (with touch)] 6, Slide slider control LED [Copy link]

It is really easy to control the LED with a slider in RTT.

First, create a new development board example with LED driver. Then comment out the LED flasher.

Open RT-Thread Settings and enable Slide in hardware

Then check if PWM is turned on in the component. I think this is related, that is, as long as the Slider is enabled

PWM should be turned on.

Save, then compile, in the control window, press HELP

Type Slider_ctrl_sample

Slide the slider up and down with your hand, and the LED will turn on and off.

FY


This post is from Embedded System
Personal signaturehttp://shop34182318.taobao.com/
https://shop436095304.taobao.com/?spm=a230r.7195193.1997079397.37.69fe60dfT705yr

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