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.

Source Distribution

wonderguy-1.4.3.tar.gz (14.7 kB view details)

Uploaded Source

Built Distribution

wonderguy-1.4.3-py2.py3-none-any.whl (23.1 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file wonderguy-1.4.3.tar.gz.

File metadata

  • Download URL: wonderguy-1.4.3.tar.gz
  • Upload date:
  • Size: 14.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.3

File hashes

Hashes for wonderguy-1.4.3.tar.gz
Algorithm Hash digest
SHA256 218afad6d28f620cdfbe7f092392b18c7539297ab571541c22cc26c0a8313c4d
MD5 f4aaa5aeef21a28139f3928d70394430
BLAKE2b-256 abc2de22fda105e07d444c5e88f62916dc0b23a692493b74f5a9912a23e3ca27

See more details on using hashes here.

File details

Details for the file wonderguy-1.4.3-py2.py3-none-any.whl.

File metadata

  • Download URL: wonderguy-1.4.3-py2.py3-none-any.whl
  • Upload date:
  • Size: 23.1 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.3

File hashes

Hashes for wonderguy-1.4.3-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 476a604950c85252f8178748ba26734212808a1a6c17d0dd78c315c596c52280
MD5 f788fc4c1eb46312439ce4b304157f64
BLAKE2b-256 35769641bb6dbf2e027c92b7f5cda5a851a3557f2ac9a5e2aaf0009a9a668b73

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page