smerkousdavid / neo.gpio Goto Github PK
View Code? Open in Web Editor NEWA python library to control all the Neo's controls Gpio, Accelerometer, Gyroscope, Magnometer
License: GNU General Public License v2.0
A python library to control all the Neo's controls Gpio, Accelerometer, Gyroscope, Magnometer
License: GNU General Public License v2.0
Hey fella,
Hope you had a good Christmas. Just tried using your led example and it's coming up with this error.
Traceback (most recent call last):
File "LEDexample.py", line 4, in
led= Led(2)
TypeError: init() take exactly 1 argument (2 given)
All the best,
RIchard
There is a new library being developed called NEOC.GPIO. It currently supports most of the same protocols and soon to come Servo, audio, and full (easy) I2C support. I have created this "issue" almost as a pole/request to see if people want me -- or better yet, help me -- create the python bindings for the new library. It also requires a lot of work, but I think the Udoo community could definitely benefit from using a standard GPIO library. I'm hoping that the later udoobunto releases will include gpio libraries (basic: python,c/c++, java) by default. ๐
More of a self note but I do need to make it that the values are from with boot up but when the user can call a function to reset/calibrate all sensors values to 0
Not really an issue but a question. Will this work on the UDOO Quad? Can't find a library like RPi.GPIO
that works on an UDOO Quad.
Hi, when running the code for the snap in sensors i'm getting a error message. Unsure if I need to install anything for the I2C or even enable it. :( Cheers for this great library. :)
udooer@neoudoo:~/Desktop/Neo.GPIO-1.0.0$ python SnapinSensorsExample.py
Traceback (most recent call last):
File "SnapinSensorsExample.py", line 14, in
tempVal = temp.getTemp("f") # replace f with c to get celcius
File "/home/udooer/Desktop/Neo.GPIO-1.0.0/neo/Neo.py", line 127, in getTemp
with open("/sys/class/i2c-dev/i2c-1/device/1-0048/temp1_input", "r") as reader: # Read i2c millicel file
IOError: [Errno 2] No such file or directory: '/sys/class/i2c-dev/i2c-1/device/1-0048/temp1_input'
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.