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)
|