Hi everybody,
May I know how to use the interrupt function on Arduino Uno. It's like I want to give a 15 min interrupt.
Jaay:
Hi everybody,
May I know how to use the interrupt function on Arduino Uno. It's like I want to give a 15 min interrupt.
One simple method is to just use an available library called MsTimer2. There are simple examples that will show you how to have it generate a timed interrupt to a function you define. I used it as the heart beat for a 5x5x5 led cube to set the basic update timing for the led pattern data. It works well for straight forward timing interrupt needs.
http://arduino.cc/playground/Main/MsTimer2
Lefty