43
RSB-4411
User Manual
Chapter 3
S
oftware
Functionality
echo
55
>
./export
export
GPIO7,
command:
echo
56
>
./export
export
GPIO8,
command:
echo
130
>
./export
‐‐
>
display
gpio1
~
gpio8,
command:
ls
Console log:
export
gpio3
gpio6
gpiochip0
gpiochip192
gpiochip64
gpio1
gpio4
gpio7
gpiochip128
gpiochip247
gpiochip96
gpio2
gpio5
gpio8
gpiochip160
gpiochip32
unexport
4) See gpio1 ~ gpio8 direction:
For example, See gpio1 direction [input(in) or output(out)], command:
cat
gpio1/direction
Console
log:
in
5) See gpio1 ~ gpio8 value:
For example, See gpio1 value [low active(0) or high (1)] , command:
cat
gpio1/value
Console log:
1
6) Set gpio1 ~ gpio8 direction:
a1) For example, Set gpio1 direction input(in) , command:
echo
in
>
gpio1/direction
a2) get direction, command:
cat
gpio1/direction
Console log:
in
b1) For example, Set gpio1 direction output(out), command:
echo
out
>
gpio1/direction
b2) get direction, command:
cat
gpio1/direction
Console log:
Summary of Contents for RSB-4411
Page 2: ...User Manual RSB 4411 3 5 SBC with NXP i MX6 Processor ARM Cortex A9 Architecture ...
Page 11: ...RSB 4411 User Manual x ...
Page 12: ...Chapter 1 1 General Introduction ...
Page 15: ...RSB 4411 User Manual 4 ...
Page 16: ...Chapter 2 2 H W Installation ...
Page 33: ...RSB 4411 User Manual 22 Figure 2 25 M 2 Connector ...
Page 37: ...RSB 4411 User Manual 26 ...
Page 82: ...71 RSB 4411 User Manual Chapter 5 Advantech Services ...