Skip to main content

wonderbits by mfeducation.

Project description

豌豆拼

重写了豌豆拼python硬件交互逻辑

from wonderbits import Display, wb_tool, Control, Led
import random
# 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)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for wonderbits, version 5.6.4
Filename, size File type Python version Upload date Hashes
Filename, size wonderbits-5.6.4-py2.py3-none-any.whl (24.4 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size wonderbits-5.6.4.tar.gz (16.1 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page