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.
Source Distribution
wonderbits-5.8.3.tar.gz
(25.3 kB
view hashes)
Built Distribution
Close
Hashes for wonderbits-5.8.3-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 55a3af72d0c6ca4fa8be7e6366199fa42336bf33c48a67c3edda4156943ee849 |
|
MD5 | 44b75a9987809c9ccffcfbe5fe43f0d0 |
|
BLAKE2b-256 | 378edc5e52ad561b401d5ed4734c45c928de2c9ac0f32c90a327e93261a408bb |