I have been considering some experiments with the GPIO i.e. detecting push switch (door bell) or some kind of sensor trigger like incoming phone call / or phone OTH.
It's highly likely the logic levels would jump from low to high and back to low which could pose a problem if the input pin wasn't read during the high period.
To improve detection reliably I would have to code to read the GPIO input pins several times a second which to me doesn't seem practical and a waste of CPU resources.
So I was thinking instead of butchering the CPU why not poll the GPIO every 2 seconds but the input pin could have some kind of latching circuit attached like a J/K or R/S flip flop.
Once the program has acknowledged that the input pin is high I could then use one of the spare GPIO output pins to reset the latch switch.
Would such a thing be possible or has anyone achieved this??
Could anyone recommend a flip flop that would happily run on 3.3v since most seem to prefer a 5v power supply??
Richard S.
