GPIO

  • Key&Led Copy test porgram from \Examples\key_led to development board and run it, Press the K3 and K4, See changes in the LED.
  • Extended GPIO Development Board use SC16IS7x2 for expand out 8 GPIO, this IO number is 200~207 in Linux, for example, below command show how to read the GPIO 201:
    #echo 201 > /sys/class/gpio/export
    #cd /sys/class/gpio/i2c-gpio201/