nxez / saks-sdk Goto Github PK
View Code? Open in Web Editor NEWSAKS SDK
Home Page: http://shumeipai.nxez.com/swiss-army-knife-shield-for-raspberry-pi
License: GNU General Public License v2.0
SAKS SDK
Home Page: http://shumeipai.nxez.com/swiss-army-knife-shield-for-raspberry-pi
License: GNU General Public License v2.0
led breath effect is also very practical,
so maybe can consider to add pulse function to the led class in led.py?
the effect will like mention in this article:
http://shumeipai.nxez.com/2015/11/18/saks-diy-tutorials-breathing-light.html
用python3的话会报错。
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/pi/SAKS-SDK/sakshat.py", line 27, in <module>
import entities
File "/home/pi/SAKS-SDK/entities/__init__.py", line 1, in <module>
from buzzer import Buzzer
ImportError: No module named 'buzzer'
建议DigitalDisplay 增加接口,可单独控制每根数码管的亮、灭
例如 show(1,0x38) 或者 show(1,'def') 可控制第1位数码管的d、e、f 三根晶体管亮,也即第一位显示出'L'字母
|__ SKD
| |__ sakspins.py
| |__ sakshats.py
|__ run.py
在run.py 中import sakhats
ImportError: No module named 'sakpins'
from sakspins import SAKSPins as PINS
import entities
python3 这里会使用绝对导入。自己写的代码如果不在同级目录这里会找不到sakpins。
自己写的东西和这个SDK放一起又比较乱。
作者能写一个setup.py 之类东西吗?(>.<)
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.