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. Unless the pin, in OUT mode,
comes back as high (1) internally the physical pin will measure near GND
level. If it does read back as high, and the physical pin is still near
GND, you may have a bad chip -- in that the pin driver is not providing a
signal... Double check by setting mode IN, jumpering pin first to ground
and reading it (should be low/0), then jumper to 3.3V [DO NOT TOUCH 5V with
the jumper] and again reading (should be high/1).
If I had physical access, I'd probably do a verification run by writing
0, measuring all pins relative to ground, then writing 1 and measuring all
pins again -- looking for any pin that changed value. If a pin changes
value -- stay on that pin with the meter and alternately command the system
to 0 and 1 to see if the value follows the commanded writes.
--
Wulfraed Dennis Lee Bieber AF6VN
wlfraed@ix.netcom.com HTTP://wlfraed.home.netcom.com/
--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)
|