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
File details
Details for the file microblocks_wifi_radio-0.5.0.tar.gz
.
File metadata
- Download URL: microblocks_wifi_radio-0.5.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 | e82c0aa0696ca2e00f8318879f3415680d85dacbf2fcffe6b21a6b542c759f83 |
|
MD5 | 803a2e7977859a40b66f0371da48889e |
|
BLAKE2b-256 | 3eae2cc3d9a72fbb7cd30c597412cf89d94087bb3e53434b80a390744260eade |
File details
Details for the file microblocks_wifi_radio-0.5.0-py3-none-any.whl
.
File metadata
- Download URL: microblocks_wifi_radio-0.5.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 | 11fedc0a09a7097959482c865f7f7eeb850687f0df1fb6c2d4ac679892fa4814 |
|
MD5 | d9fddb23ddefbea62a5d486ec63a5e50 |
|
BLAKE2b-256 | 4abe044bbac24d4df41745f404855e1cf570487342e8c9f2fcd4574954bf44d3 |