8 LEDs light at different times with the RTC module

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

8 LEDs light at different times with the RTC module

727 次查看
eduardopretel
Contributor I
hello I would like to know how to make a program kl27z SDK2 you turn me 8 LEDs at different times with the RTC module
标签 (1)
0 项奖励
回复
1 回复

664 次查看
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello ,

I think you can use RTC second interrupt  function.

In the interrupt function, you define one flag ,when interrupt ,the flag++ ,

then through judge the flag to turn on different LEDs.

About the second interrupt demo , please refer to :

SDK_2.0_FRDM-KL27Z\boards\frdmkl27z\demo_apps\rtc_func

When the demo running, send 4.

Hope it helps
Have a great day,
Alice

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励
回复