logo
首页技术栈工具库讨论
ToggleFlash

ToggleFlash

The library can flash an LED or DigitalOut pin at 50% duty using a Ticker interrupt triggered toggle function. This library does NOT use wait() so that it can flash a pin while more code is being executed. Instead, it relies on Ticker generated interrupts. There is only one parameter required, the on/off time of the pin in seconds (i.e. 0.5 means 0.5 seconds on and 0.5 seconds off).
由 
bruceshi2021-01-13 收录
--
推荐
不推荐
更多信息
PLATFORMIO
ToggleFlash
标签
根据用户添加的标签生成
暂无标签