diff --git a/WaterishOS-minimal2.0/WaterishOS-minimal2.0.ino b/WaterishOS-minimal2.0/WaterishOS-minimal2.0.ino index 57cb0b1..bd248d2 100644 --- a/WaterishOS-minimal2.0/WaterishOS-minimal2.0.ino +++ b/WaterishOS-minimal2.0/WaterishOS-minimal2.0.ino @@ -19,7 +19,8 @@ void setup(){ pinMode(1, FUNCTION_3); pinMode(3, FUNCTION_3); - pinMode(arduinoIntPin,INPUT); + pinMode(1,INPUT); + pinMode(3,INPUT); mcp.begin(); // use default address 0 mcp.setupInterrupts(true,false,LOW); // configuration for a button on port A @@ -48,14 +49,8 @@ void handleInterrupt(){ // We will flash the led 1 or 2 times depending on the PIN that triggered the Interrupt // 3 and 4 flases are supposed to be impossible conditions... just for debugging. - for(int sid=0;sid<=7)s - // simulate some output associated to this - for(int i=0;i