Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
Interrupts allow the processor to suspend normal operation temporarily so that a high-priority software or hardware event can be handled instead.
0
votes
Accepted
ISR halts in DUE
An attempt to run long loops in the ISR for the DUE fails. This is the result of some sort of a run time monitoring system. An infinite loop like this one here, or even a loop with a thousand repetiti …
0
votes
1
answer
329
views
ISR halts in DUE
I am using the following simple code to test the interrupt functionality of due:
void aMillion(){
for(int i = 0; i < 1000000; i++){
if(i % 1000 == 0){
Serial.print("m"); … Serial.begin(9600);
pinMode(2, INPUT);
attachInterrupt(digitalPinToInterrupt(2), aMillion, CHANGE);
}
void loop()
{
}
obviously what we expect to see is a thousand "m" characters after each interrupt …