wonderbits by mfeducation.
Project description
豌豆拼
重写了豌豆拼python硬件交互逻辑
from wonderbits import Display, wb_tool, Control, Led import random import time # wb_tool.show_console() d = Display() c = Control() l = Led() for i in range(20): d.print(1,1,i) v = c.get_sw4() l.set_rgb(random.randint(0,255),random.randint(0,255),random.randint(0,255)) print(v) time.sleep(1)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Filename, size | File type | Python version | Upload date | Hashes |
---|---|---|---|---|
Filename, size wonderbits-5.7.9-py2.py3-none-any.whl (43.3 kB) | File type Wheel | Python version py2.py3 | Upload date | Hashes View |
Filename, size wonderbits-5.7.9.tar.gz (24.7 kB) | File type Source | Python version None | Upload date | Hashes View |
Close
Hashes for wonderbits-5.7.9-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d31a8053b999e363ec76649e52e427bf625d0f2b3c48739b1b2d5967fc4abfe6 |
|
MD5 | 11ae2698ade65d2049ca0a6f51a3f361 |
|
BLAKE2-256 | e64aa45fc9db52870497fafec37730d67e4ed402a8b5fa84f987775f87ac33dd |