When there is no other category, General is the way to go.
Capture
 
Posts: 22
Joined: Tue Jun 09, 2015 2:31 pm

How to configure the timers to generate the interrupts

by Capture Wed Jun 10, 2015 9:26 am

My objective is to press the button for 3s (via RF port )after third second Led start blinking in order to do that i want to configure the timers so can anyone suggest me how to configure the timers in order to generate interrupts after 3 sec, i have tried the scheduler but it seems to be more complex, i do aprreciate all your suggestions and it will be really helpful for me
User avatar
lcheminade
 
Posts: 146
Joined: Mon May 11, 2015 7:47 am

Re: How to configure the timers to generate the interrupts

by lcheminade Wed Jun 10, 2015 9:39 am

Hi,

The switch_polling example in the SDK is showing you how to handle a button being pushed without having to create any timer.

Then you can use the libtdtools/td_tools_led.c library to make a led blink also without having to use any timer as well.

Regards.

Loïc
Capture
 
Posts: 22
Joined: Tue Jun 09, 2015 2:31 pm

Re: How to configure the timers to generate the interrupts

by Capture Wed Jun 10, 2015 10:07 am

how can i see the output of the switch polling example ?can i set the button in RF port(via putty terminal if i press any button on the keyboard for three seconds then it will make the LED glow) what is meany by debounce timer do i have to set or change any values for that?
Return to General

Who is online

Users browsing this forum: No registered users and 36 guests