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