TIP: Click on subject to list as thread! ANSI
echo: rberrypi
to: BULLEID@KU.GRO.LIOFF
from: ADRIAN
date: 2019-08-09 20:34:00
subject: Re: GPIO problem

In message , Adrian
 writes
>In message , Dennis Lee
>Bieber  writes
>>On Wed, 7 Aug 2019 23:52:56 +0100, Adrian  declaimed
>>the following:
>>       Please look up a pin diagram for your model R-Pi.
>>
>>       On a 3B/3B+, when oriented so one can read the silkscreen text of the
>>circuit board, the USB/Ethernet ports are on the right, HDMI and power are
>>on the bottom, and the expansion pins are across the top.
>>https://www.jameco.com/Jameco/workshop/circuitnotes/raspberry-pi-circuit
>>-note.html
>>(If you have a recent OS, you can try running the pinout command in a
>>console https://www.raspberrypi.org/documentation/usage/gpio/ )
>>
>>       Pin 1 is inside left, pin 2 is outside left, and ALL inside row pins
>>are odd numbers (1, 3, 5, ...) with the even numbers (2, 4, 6, ...) on the
>>outside/top.
>>
>>
>>       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
>>
>>
>
>I think that I'm using pins 31 and 39, but I won't be able to take a
>look at it until tomorrow, I'll report back then.
>

I've had a look, and it is (as expected) using pins 31 and 39.

Strangely, the behaviour today has changed.  Rather than consistently
registering an "on" state, it is doing it on an intermittent basis.

Adrian
--
To Reply :
replace "bulleid" with "adrian" - all mail to bulleid is rejected
Sorry for the rigmarole, If I want spam, I'll go to the shops
Every time someone says "I don't believe in trolls", another one dies.

--- 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™.