On Thu, 08 Aug 2019 10:49:06 -0400, Dennis Lee Bieber
declaimed the following:
> The best I can make from your description is that you are on pin 29
>(GPIO5) and pin 39 (GND). Note that your code (from the first post) wants
>GPIO6 (pin 31)! https://gpiozero.readthedocs.io/en/stable/recipes.html
And just a follow-up comment. Since the sensor connection is GPIO and
GND, the odds are good that it is relying on a pull-UP (to 3.3V) resistor,
and the sensor closes/shorts to ground when active.
--
Wulfraed Dennis Lee Bieber AF6VN
wlfraed@ix.netcom.com http://wlfraed.microdiversity.freeddns.org/
--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)
|