In message , Dennis Lee
Bieber writes
>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.
>
>
That makes sense as the gauge is basically a see saw with a reed switch
to detect when it flips over.
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)
|