rdepena/bb-gpio-lib
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Repository files navigation
Bare bones GPIO library for the BeagleBone implemented using sysfs. Three Steps fs based BeagleBone GPIO: Digital IO: 1) Export the Pin 2) Set the direction 3) Write/Read the value. Analog IO: -- only AnalogRead supported. 1) Load the ADC capemgr 2) Read the value Build (PC and BeagleBone supported): make Deploy to connected BeagleBone (PC and BeagleBone supported): make deploy Run Tests (BeagleBone supported): sudo make test Install (BeagleBone supported): sudo make install Uninstall (BeagleBone supported): sudo make uninstall --TODO: add analog write support