Git Product home page Git Product logo

bbbiolib's Introduction

BBBiolib

Beaglebone black I/O library , using Memory mapped I/O

Simple C I/O library of Beaglebone balck

============================ Hi , everyone

I'm very very sorry. I'm not able to preserve of BBBiolib for private issues.

I'will freezing update for 1 years.

With my deepest regret. Meng-Lun, Cai

===========================

V1 	October 2013 - shabaz (iolib) : create basic library 

V2 	October 2013 - shabaz (iolib) : fix some BUG

V2.1	November.7 2013 - add some comment and modify function name

V2.2	November.10 2013 - add GPIO Enable/Disable function (GPIO 1~3)

V2.3	November.19 2013 - add GPIO Enable/Disable function (GPIO 0)

V2.4	November.23 2013 - add whole GPIO control function (I/O and direction set)

V2.5	December.7  2013 - change directory architecture ,add Demo/ and Toolkit/ directory .

V2.6	December.9  2013 - add simple ePWM module control function in am335x

V2.7	December.20 2013 - add simple McSPI control function .

V2.8	March.14 2014 - add ADC application of Arduino Microphone module ,
			and ADC argument calculation toolkit .

Freezing March 11 2014 .

=============================================================================================

this library support simple I/O for beaglebone black ,using C .

Demo Directory include some demo basic this library ,each circuit layout ,picture and document in file directory .

Hotw to use :

    Build libBBBio.a :

            # make

    Build Demos : (ex : ADT7301 demo)

            # make ADT7301

Toolkit List :

1. GPIO CLK Status toolkit

2. Expansion Header toolkit

3. ADC Argument Calculation toolkit

Demo List :

1. LED Demo

2. LED_GPIO Demo

3. ADT7301 Demo (Digital Temperature sensor)

4. Seven-Segment Array Display demo

5. Debouncing Demo

6. 4x4 keypad Demo

7. PWM Demo

8. Servo Motor Demo

9. ADC Demo

10. ADC with Arduino Microphone Demo

11. L3G4200D Demo (3-axis Gyroscope)

overlays

BBBIO include some device tree overlays example for linux kernel 3.8.13 .

compile each overlays:

#cd overlay

#make

Install overlays

#cd overlay

#make install

apply overlay :

#cp {OVERLAY} /lib/firmware/

#echo {OVERLAY's part-number} >> /sys/devices/bone_capemgr.*/slots

overlays list :

1. EHRPWM 0~3 overlay

	#echo BBBIO-EHRPWM >> /sys/devices/bone_capemgr.*/slots

2. SPI 1 overlays

	#echo BBBIO-SPI1 >> /sys/devices/bone_capemgr.*/slots

Reference from :

https://learn.adafruit.com/introduction-to-the-beaglebone-black-device-tree/overview

External Reference

Bulldog :

Bulldog is a GPIO API for the Beaglebone Black written in Java.

github : https://github.com/Datenheld/Bulldog

bbbiolib's People

Contributors

ml-cai avatar dsiroky avatar

Stargazers

David Cotterill-Drew avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.