Skip to main content

豌豆拼

重写了豌豆拼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)

Release files for wonderguy 1.4.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for wonderguy 1.4.3
File Size Uploaded
wonderguy-1.4.3.tar.gz 14.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for wonderguy 1.4.3
File Interpreter ABI Platform
wonderguy-1.4.3-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 37.8 kB

Release files / wonderguy-1.4.3.tar.gz

Download URL wonderguy-1.4.3.tar.gz
Size 14.7 kB
Tags Source
SHA-256 checksum
How to use checksums
218afad6d28f620cdfbe7f092392b18c7539297ab571541c22cc26c0a8313c4d
BLAKE2b-256 checksum
How to use checksums
abc2de22fda105e07d444c5e88f62916dc0b23a692493b74f5a9912a23e3ca27
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / wonderguy-1.4.3-py2.py3-none-any.whl

Download URL wonderguy-1.4.3-py2.py3-none-any.whl
Size 23.1 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
476a604950c85252f8178748ba26734212808a1a6c17d0dd78c315c596c52280
BLAKE2b-256 checksum
How to use checksums
35769641bb6dbf2e027c92b7f5cda5a851a3557f2ac9a5e2aaf0009a9a668b73
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

1.4.3 This release

2 release files

1.4.1

2 release files

1.4.0

2 release files

1.3.5

2 release files

1.3.4

2 release files

1.3.3

2 release files

1.3.2

2 release files

1.3.1

2 release files

1.2.7

2 release files

1.2.6

2 release files

1.2.5

2 release files

1.2.4

2 release files

1.2.3

2 release files

1.2.2

2 release files

1.2.1

2 release files

1.2.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page