TIP: Click on subject to list as thread! ANSI
echo: rberrypi
to: ALL
from: DENNIS LEE BIEBER
date: 2019-08-08 14:07:00
subject: Re: GPIO problem

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)

SOURCE: echomail via QWK@docsplace.org

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.