how to write basic interrupt setup core code for DUE.
I want to detect rising edge on say pin 4 of due , upon rising edge it should go to ISR to do some task say for instance in ISR i want to print 0 to 100 on serial window.
does any one worked on interrupt core code, plz guide me.
Follow this link :
Keep your ISR function as short as possible, don't print anything inside, instead set a flag in ISR then print in loop() upon this flag state.
I am looking for Core code. not arduino's code like attachedInterrupt.
AFAIK it's in WInterrupts.h.
i do not know that much , but i am looking for code. so that i will test it in DUE.