Status pin clarification
Posted: Sat Sep 28, 2013 6:36 pm
Can you clarify the connection for the Status pin...
The instructions in step 2 of the MyDoorOpener-instructions-2.pdf say that 2 wires should be connected
to the GND and Corresponding Analog pin (#2 for device 1).
But the picture in the PDF shows the wires connected to 5v & pin #2?
Also, line 87 in MyDoorOpener.ino shows +5v in the comment...
#define STATUS_STRATEGY_NORMALLY_CLOSED // classic door sensor - uses digitalRead to interpret door/device status
(opened == high-impedance, closed == +5v)
Should the status pin be connected to GND or +5v?
Thanks,
Raul
The instructions in step 2 of the MyDoorOpener-instructions-2.pdf say that 2 wires should be connected
to the GND and Corresponding Analog pin (#2 for device 1).
But the picture in the PDF shows the wires connected to 5v & pin #2?
Also, line 87 in MyDoorOpener.ino shows +5v in the comment...
#define STATUS_STRATEGY_NORMALLY_CLOSED // classic door sensor - uses digitalRead to interpret door/device status
(opened == high-impedance, closed == +5v)
Should the status pin be connected to GND or +5v?
Thanks,
Raul