Skip to content

df3xc/BeagleBone-GPIO

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GPIO Library for BeagleBone

high performance I/O

Currently implemented functions:

int init(); /*!< mmap /dev/mem into memory */
int digitalInput(PIN p);  // configure PIN as input pin
int digitalOutput(PIN p);  // configure PIN as output pin
int digitalWrite(PIN p, uint8_t setting); // set pin high(setting=1) or low(setting=0)
int digitalRead(PIN p); // returns 0 : pin is low  >0 pin is high
int analogRead(PIN p);

HELP: https://github.com/df3xc/BeagleBone-GPIO/wiki

TODO:

  • PWM

This set of files have been forked from ehayon@github and modifications made by iron76@github.

About

A GPIO library for the BeagleBone Black

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 95.6%
  • Makefile 2.6%
  • CMake 1.8%