Skip to main content

wonderbits by mfeducation.

Project description

豌豆拼

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

from wonderguy 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 wonderguy, version 1.4.3
Filename, size File type Python version Upload date Hashes
Filename, size wonderguy-1.4.3-py2.py3-none-any.whl (23.1 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size wonderguy-1.4.3.tar.gz (14.7 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