Hardware Reference
In-Depth Information
Figure 5-18. Mapping from header pin to internal GPIO number
Compile and run the code:
bone# gcc -o blinkLED blinkLED.c -lsoc
bone# ./blinkLED
libsoc-debug: debug enabled (libsoc_set_debug)
libsoc-gpio-debug: requested gpio (50, libsoc_gpio_request)
libsoc-gpio-debug: GPIO already exported (50, libsoc_gpio_request)
libsoc-gpio-debug: setting direction to out (50,
libsoc_gpio_set_direction)
libsoc-debug: debug disabled (libsoc_set_debug)
Search WWH ::




Custom Search