Skip to content

rdepena/bb-gpio-lib

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published