8 LEDs light at different times with the RTC module

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

8 LEDs light at different times with the RTC module

728 Views
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
Labels (1)
0 Kudos
Reply
1 Reply

665 Views
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 Kudos
Reply