No project description provided
Project description
WiFi Radio
This package works with MicroBlocks WiFi Radio library.
Install
pip install microblocks_wifi_radio
Usage
import time
from microblocks_wifi_radio import Radio
r = Radio()
r.send_number(123)
time.sleep(1)
r.send_string("hello")
time.sleep(1)
r.send_pair("light", 10)
while True:
time.sleep(0.01)
if r.message_received():
print(r.last_number)
print(r.last_string)
Note
Most code is written by GPT4: GPT4 translated the MicroBlocks code
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file microblocks_wifi_radio-0.6.0.tar.gz.
File metadata
- Download URL: microblocks_wifi_radio-0.6.0.tar.gz
- Upload date:
- Size: 5.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.5.1 CPython/3.11.5 Darwin/22.5.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1b0da56e46d9ca9495066525d3255d4d852a097fcb4d9f6f64e355dd91bb1c9b
|
|
| MD5 |
39c83305974c2667e286dc44afaf6974
|
|
| BLAKE2b-256 |
c70fe3ca44229aad07d7e52c254091c6118a8e2a6911698dd14d828d9f1ab407
|
File details
Details for the file microblocks_wifi_radio-0.6.0-py3-none-any.whl.
File metadata
- Download URL: microblocks_wifi_radio-0.6.0-py3-none-any.whl
- Upload date:
- Size: 5.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.5.1 CPython/3.11.5 Darwin/22.5.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e181ef5dafedc63117963f3a8dc3f45ab8e55bcf527476b75ee3217b5e16dbc4
|
|
| MD5 |
6ef7f8c74bf2ebeb1e29eeddfa5debd6
|
|
| BLAKE2b-256 |
43d361da7ed1fef0c73ecff1f483cb73eb67ecf3f6a1fb23ab9be43b17c090de
|