You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
310 B

Purpose: to demonstrate usage of interface in GPIO module .
Command:
GPIO read:
./sample_gpio_read Group | Bit
GPIO write:
./sample_gpio_write Group | Bit | Value
GPIO dir:
./sample_gpio_dir Group | Bit | Dir
Parameter: Group: GPIO number, Bit: Bit number, Value: high/level.
Notice: no.