TIP: Click on subject to list as thread! ANSI
echo: rberrypi
to: WLFRAED@IX.NETCOM.COM
from: GORDON HENDERSON
date: 2018-01-23 17:34:00
subject: Re: My Raspberry Pi3 is d

In article ,
Dennis Lee Bieber   wrote:
>On Tue, 23 Jan 2018 10:10:14 +0000, RobH  declaimed the
>following:
>
>>Thanks for the information about wiringPi, and yes it is already
>>installed on my Pi3. Interestingly when I do a gpio readall, it shows that:
>>
>>BCM 17
>>wPi 0
>>Name GPIO. 0
>>Mode OUT.
>>Physical 11
>>
>>All the other pins are shown as Mode IN.
>
> Which implies that something executed a mode OUT setting...
>
> But what does any of:
>
>gpio -g read 17
>gpio read 0
>gpio -1 read 11
>
>produce. Readall appears to merely report the direction, the chip pin, the
>header pin, and the WiringPI number&name.

gpio readall does a read of the pin as well as it's direction. Look
at the 'V' column. V for Value.

The thing you can't read the state of is the internal pull up/down
resistors. These are write only.

Gordon

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