voidpp / pca9685-driver-http Goto Github PK
View Code? Open in Web Editor NEWWeb interface for PCA9685 pwm (LED/Servo) controller
License: MIT License
Web interface for PCA9685 pwm (LED/Servo) controller
License: MIT License
Hi,
I reinstalled my Raspi an now there is the following error.
Did I miss anything?
Traceback (most recent call last):
File "run-dev-server.py", line 2, in <module>
from pca9685_driver_http.app import app
File "/home/pi/bin/PCA9685-driver-http/pca9685_driver_http/app.py", line 6, in <module>
from .config import config, config_loader
File "/home/pi/bin/PCA9685-driver-http/pca9685_driver_http/config.py", line 2, in <module>
from voidpp_tools.json_config import JSONConfigLoader
ImportError: No module named voidpp_tools.json_config
Thank You
The program crashes with the IOError 121.
I cannot think of anything I changed.
Do you know anything?
2017-09-02 14:52:44,015 - INFO - pca9685_driver_http.app - app.py:16: Config loaded from /home/pi/bin/PCA9685-driver-http/pca9685-driver-http-config.json
Traceback (most recent call last):
File "run-dev-server.py", line 2, in <module>
from pca9685_driver_http.app import app
File "/home/pi/bin/PCA9685-driver-http/pca9685_driver_http/app.py", line 22, in <module>
devices[name].wake()
File "/usr/local/lib/python2.7/dist-packages/pca9685_driver/device.py", line 153, in wake
self.write(Registers.MODE_1, self.mode_1 & (255 - (1 << Mode1.SLEEP)))
File "/usr/local/lib/python2.7/dist-packages/pca9685_driver/device.py", line 80, in mode_1
return self.read(Registers.MODE_1)
File "/usr/local/lib/python2.7/dist-packages/pca9685_driver/device.py", line 171, in read
return self.__bus.read_byte_data(self.__address, reg)
File "/usr/local/lib/python2.7/dist-packages/smbus/util.py", line 59, in validator
return fn(*args, **kwdefaults)
File "/usr/local/lib/python2.7/dist-packages/smbus/smbus.py", line 132, in read_byte_data
raise IOError(ffi.errno)
IOError: 121
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.