Big update here.
delayMicrosecondsHard re-written - again. Added a serialRead example program, and added in the okLed to the examples too. Updated/checked some of the GPIO/PWM code. Added in some experimental servo and tone generating code and and example or 2. Tweaks to the gpio command to correctly load the I2C modules too.
This commit is contained in:
13
gpio/gpio.1
13
gpio/gpio.1
@@ -9,11 +9,11 @@ gpio \- Command-line access to Raspberry Pi and PiFace GPIO
|
||||
.PP
|
||||
.B gpio
|
||||
.B [ \-g ]
|
||||
.B read/write/pwm/mode ...
|
||||
.B read/write/wb/pwm/mode ...
|
||||
.PP
|
||||
.B gpio
|
||||
.B [ \-p ]
|
||||
.B read/write/mode
|
||||
.B read/write/wb
|
||||
.B ...
|
||||
.PP
|
||||
.B gpio
|
||||
@@ -82,7 +82,14 @@ respective logic levels.
|
||||
|
||||
.TP
|
||||
.B write <pin> <value>
|
||||
Write the given value (0 or 1) to the pin.
|
||||
Write the given value (0 or 1) to the pin. You need to set the pin
|
||||
to output mode first.
|
||||
|
||||
.TP
|
||||
.B wb <value>
|
||||
Write the given byte to the 8 main GPIO pins. You can prefix it with 0x
|
||||
to specify a hexadecimal number. You need to set pins to output mode
|
||||
first.
|
||||
|
||||
.TP
|
||||
.B readall
|
||||
|
||||
Reference in New Issue
Block a user