Skip to main content

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)

MicroBlocks Demo

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

microblocks_wifi_radio-0.5.0.tar.gz (5.5 kB view details)

Uploaded Source

Built Distribution

microblocks_wifi_radio-0.5.0-py3-none-any.whl (5.8 kB view details)

Uploaded Python 3

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

Hashes for microblocks_wifi_radio-0.5.0.tar.gz
Algorithm Hash digest
SHA256 e82c0aa0696ca2e00f8318879f3415680d85dacbf2fcffe6b21a6b542c759f83
MD5 803a2e7977859a40b66f0371da48889e
BLAKE2b-256 3eae2cc3d9a72fbb7cd30c597412cf89d94087bb3e53434b80a390744260eade

See more details on using hashes here.

File details

Details for the file microblocks_wifi_radio-0.5.0-py3-none-any.whl.

File metadata

File hashes

Hashes for microblocks_wifi_radio-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 11fedc0a09a7097959482c865f7f7eeb850687f0df1fb6c2d4ac679892fa4814
MD5 d9fddb23ddefbea62a5d486ec63a5e50
BLAKE2b-256 4abe044bbac24d4df41745f404855e1cf570487342e8c9f2fcd4574954bf44d3

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