Hello, I have been migrating the weather station project by Jason to a Cobra II with Wifi, great practical project to learn with …
The interrupt counts with no change to the pin state? I have checked with my DMM and the pin state changes as expected with the rain meter being operated; but is stable when it is not … so the input works as excepted.
InterruptInput rainMeter; // Interrupt when rain
rainMeter = breakoutTB10_Eight.CreateInterruptInput(GT.Socket.Pin.Three, GlitchFilterMode.Off, ResistorMode.Disabled, InterruptMode.RisingAndFallingEdge);
rainMeter.Interrupt += rainMeter_Interrupt;
void rainMeter_Interrupt(InterruptInput sender, bool value)