Forum 2005-2010 (read only)
Bugs & Suggestions
(Read 1 time)
Arduino Yún - Arduino for the cloud
Nov 25, 2008, 06:50 pm
Is it possible to use internal interrupts, like Timer0 Int etc.? I could find handling external interrupts in the reference only.
Nov 30, 2008, 09:21 am
It is, but you'll have to use straight-up avr-libc (there's no beginner-friendly Arduino methods). See
fyi: [font=Courier New]millis()[/font] uses the timer0 overflow - see <arduino folder>/hardware/cores/arduino/wiring.c. It uses the old style declaration, it should probably be changed to
Dec 02, 2008, 11:04 pm
: Dec 02, 2008, 11:04 pm by drone
There's also MsTimer2 interface for setting up timer-based interrupts on Timer2 easily.
Dec 09, 2008, 09:11 pm
with the exception of timer0 overflow, you can define any interrupt you want within arduino.