-->
Page 1 of 2

Timer Interruption NodeMCU

PostPosted: Mon Jun 12, 2017 8:22 pm
by yukardo
Hello everybody,

I am looking information about the timers in the nodemcu.

I am working with the arduino IDE.

I have seen some information, but it does not look so good.

I hope you can help me.

Thanks.

Re: Timer Interruption NodeMCU

PostPosted: Tue Jun 13, 2017 8:48 am
by alex_g
It might be helpful if you said what information you already have and where it is not enough for you.

Re: Timer Interruption NodeMCU

PostPosted: Tue Jun 13, 2017 10:17 am
by yukardo
I found this:

https://hackaday.io/project/12818-not-g ... r0-and-isr

I want to know how can I calcule the timer time?

For example if I want to wait for ten minute. How can I know which values I have to use?

Thanks.

Re: Timer Interruption NodeMCU

PostPosted: Tue Jun 13, 2017 12:40 pm
by icons
this might help https://www.arduino.cc/en/Tutorial/BlinkWithoutDelay
basically turning the led on and off turns pins high and low. In the example it turns the led on and off for 1000 milliseconds which is 1 second, so for you 10 minutes would be 600000? Although I read this timing method is not 100% accurate and rolls over after 50 days.