- bold some key words
This commit is contained in:
parent
a0a4f3ae8c
commit
906d91c444
@ -57,10 +57,10 @@ and you'll get output that looks something like this...
|
||||
+-----+-----+---------+------+---+---Pi 3---+---+------+---------+-----+-----+
|
||||
```
|
||||
|
||||
make sure the mode for all GPIO pins you want to test have a Mode of IN
|
||||
make sure all the GPIO pins you want to test have a **Mode** of **IN** to make it in input
|
||||
if not, set the mode for each..
|
||||
|
||||
set BCM pin 4 as an input
|
||||
so, for example, to set **BCM** pin 4 as an input
|
||||
|
||||
```gpio -g mode 4 input```
|
||||
|
||||
@ -68,12 +68,12 @@ verify it got set correctly using
|
||||
|
||||
```gpio readall```
|
||||
|
||||
enable pull-down resistor for pin 4 to make sure V stays zero when nothing is connected to the input
|
||||
enable pull-down resistor for pin 4 to make sure **V** stays zero when nothing is connected to the input
|
||||
|
||||
```gpio -g mode 4 down```
|
||||
|
||||
This will show you the output of gpio readall every 2 seconds. This way you can concentrate on
|
||||
moving a wire to each gpio pin and then look up to verify V has changed as you expect without
|
||||
moving a wire to each gpio pin and then look up to verify **V** has changed as you expect without
|
||||
having to type.
|
||||
|
||||
```watch gpio readall```
|
||||
|
||||
Loading…
Reference in New Issue
Block a user