hgdeoro / py-arduino Goto Github PK
View Code? Open in Web Editor NEWCommunicate with Arduino from Python
Home Page: http://hgdeoro.github.io/py-arduino/
License: GNU General Public License v2.0
Communicate with Arduino from Python
Home Page: http://hgdeoro.github.io/py-arduino/
License: GNU General Public License v2.0
A background task can reserve pins, to avoid being modified from UI.
If the background task exits, the pin remains reserved. We should implement some way to un-reserve pin:
Arduino Mega has too many pins, and make the UI bigger and slower.
We should implement some way to "hide" the unused pins:
Running:
$ python examples/bg_log_values_analog_pin.py --pin=99
INFO:py_arduino_web.pyroproxy.utils:Wait to let PyRO server start up
INFO:bg_log_values_analog_pin.py:Starting on pin: 99
should exit with error since there is NO analog pin 99.
On the web you can see the pin being read:
Background tasks
MuleAnalogPinLogger on pin 99 A99 (0.483 sec. ago)
This was done in the emulator, but py-arduino should have detected this and return with error.
Instead of returning all the values for all the pines, only return the values of modified pines since the last check.
This is needed to speedup the update of the UI with Arduino with many pins (Arduino Mega)
Using some web service or anything easilly consumed from a Munin plugin
In index.html you can found:
<script src="/control_panel/js/"></script>As the first iteration, it's acceptable. But all the code related to control panel (that JS and JS for charts, etc.) should be removed from index.html
To see the values being read and written of background processes
Create table in DB and allow edition from Django admin
Remove requirement of manually creating an "admin" user
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.