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)
r.send_string("hello")

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

microblocks_wifi_radio-0.2.0.tar.gz (1.8 kB view details)

Uploaded Source

Built Distribution

microblocks_wifi_radio-0.2.0-py3-none-any.whl (2.3 kB view details)

Uploaded Python 3

File details

Details for the file microblocks_wifi_radio-0.2.0.tar.gz.

File metadata

  • Download URL: microblocks_wifi_radio-0.2.0.tar.gz
  • Upload date:
  • Size: 1.8 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.2.0.tar.gz
Algorithm Hash digest
SHA256 f2d8b3dcb022b9286f03b800bae8e15eeda7bb0f0c66ab7946c67895f5c27e53
MD5 668a61ca3351af79c2c442bd72a7ed5c
BLAKE2b-256 ab408fe0f6d8f78920e4501c2b42a4e385a3ffe5ddc833e9d61b64a770592e8d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for microblocks_wifi_radio-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a27fee33eef838e83581c81c2cc78b9455afda599f6a590eb8f725ecf2730ec6
MD5 5e9ed2ba920ed0aa3eb0c1b536b06dd4
BLAKE2b-256 6cf5cc4fffbe0b8c2aee392dfe5001d55e82254737ba57d16a58a594d1a44e83

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