4.6. GPIO
There are 8 GPIOs, check the GPIO chapter in Chipsee_U7EC-Manual – V1.0.pdf
to know the detail port define. You also can check the following table 4-2
Table 4-2 CS10600F070 – V1.0 P23 Port
Pin Number
Definition
1
VDD_24v
2
GND_ISO
3
/dev/chipsee-gpio1(out)
4
/dev/chipsee-gpio2(out)
5
/dev/chipsee-gpio3(out)
6
/dev/chipsee-gpio4(out)
7
/dev/chipsee-gpio5(in)
8
/dev/chipsee-gpio6(in)
9
/dev/chipsee-gpio7(in)
10
/dev/chipsee-gpio8(in)
Use following command to test GPIO easily
• Set GPIO1 high
# echo 1 > /dev/chipsee-gpio1
• Set GPIO2 low
# echo 0 > /dev/chipsee-gpio2
• Check GPIO5 vlue
# cat /dev/chipsee-gpio5
4.7. Buzzer
Control the buzzer with the following command easily:
• Enable the buzzer
# echo 1 >/dev/buzzer