Hi I've got my first DUE (before, I had UNO)
and trying "UPGRADE" my gizmo that uses ISR.
However it seems attachInterrupt() makes due board stop.
and this is my code
#include <Wire.h>
void setup()
{
Serial.begin(9600);
Serial.println("11");
pinMode(12, OUTPUT);
Serial.println("22");
pinMode(13, OUTPUT);
Serial.println("33");
digitalWrite(13, HIGH);
Serial.println("44");
//pinMode(22, INPUT_PULLUP);
Serial.println("55");
attachInterrupt(22, inter, RISING);
Serial.println("SETUP 66");
}
void loop() {}
void blinking()
{
digitalWrite(13, HIGH);
delay(200);
digitalWrite(13, LOW);
}
void inter()
{
blinking();
}
I put hell lot of Serial.println() in my code for Test Purpose
and I've got this in my Serial Monitor
1
Looks weird... I will look for your response.
Thank you in advance!