sumeet84 / 96boardsgpio Goto Github PK
View Code? Open in Web Editor NEWThis project forked from 96boards/96boardsgpio
A library to make GPIO use across 96Boards uniform
License: GNU Lesser General Public License v2.1
This project forked from 96boards/96boardsgpio
A library to make GPIO use across 96Boards uniform
License: GNU Lesser General Public License v2.1
This is the rudimentary beginnings of the 96BoardGPIO library to control real world hardware via the GPIO on the 96Boards family of boards that confirm to the CE spec. One of the cool things about the 96Boards CE project is that all of the boards us the same pins for the Low Speed Expansion Connector so you can plug any expansion board into any 96Board and it will connect electrically BUT there is a issue where GPIO is concerned. Different SoC's have different GPIO pins. So even though electrically the pins are in the same place it takes differnt code to enable and use the GPIO on pins 23 - 34. Not so fun. The 96BoardGPIO library trys to abstract the info so that you can just tell it what board you are using and what pins you want to use and the library does the rest. Early days, there are lots of improvements that can and I expect will be made. Lookup tables need to be externalized into XML so that the library will not requre recomplation to add a new 96Boards board. We need to identify how we know what board is what at run time so we only need to call an init library call and not have to input the board name. The entire read side needs work to setup and control the input settings. In the mean time the demo.c file is a demo of running a motorized 1" 12 vdc ball valve via a 5 vdc set of relays and turning on and off said relays just becasue we can. The code so far has been tested on a Dragonboard 410 c where it is known to work very well. The gpio.c file will become a shared library that will be the under pinings of a Python, Perl, Java and C++ librarys. First to finish the C version. This library (96BoardsGPIO) is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.