jeelabs / jeelib

JeeLib for Arduino IDE: Ports, RF12, and RF69 drivers from JeeLabs
https://jeelabs.org/202x/sw/jeelib/
The Unlicense
489 stars 215 forks source link

PIRFLIP fix #28

Closed ghost closed 11 years ago

ghost commented 11 years ago

See http://forum.jeelabs.net/node/1454

On-simulation for hold-time incorrectly flipped the state if PIRFLIP was high. Pin value is flipped at moment of reading (i.e. hardware interface), so internal logic is same for both cases.