Skip to main content

A language for controlling LED animations. Other device must support PLOT and CLEAR calls.

Project description

LEDLang

Publish to PyPI PyPI - Version GitHub License Run Pytest


LED Programming Language, mostly for controlling a Micro:bit but others can be used.

to-the-serial Micro:bit Makecode Helper

Command What they do
PLOT Turn on a pixel on the screen
CLEAR Clear the screen

Problems

Item Problem
TEXT Only works if the height of your display is 5, you can get around this bug by using REALSIZE

Notes

Item Problem
REALSIZE Can lag since division is used every PLOT

TODO

What I need to do
Make a intermediate layer of compiling so the conpiled code will be correct and won't be changed by runtime stuff
Make plot be able to batch
Use a local echo to know if a point is already drawn
Use one letter for each command

Github repo
Test Status for this: Test Status Badge
View this deploy

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ledlang-0.2.9.dev20250824033423.tar.gz (11.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ledlang-0.2.9.dev20250824033423-py3-none-any.whl (14.2 kB view details)

Uploaded Python 3

File details

Details for the file ledlang-0.2.9.dev20250824033423.tar.gz.

File metadata

File hashes

Hashes for ledlang-0.2.9.dev20250824033423.tar.gz
Algorithm Hash digest
SHA256 2ef677281b2f052376f6770ebebebf5a5426503ae3f45ea495c6cebbe5278ea0
MD5 471567db8d49b18e4d46a4f7d718e74e
BLAKE2b-256 d8e704bc43cfd5310ba60b1b4cb595cbb18af61359af45797ae31a1ee086a8b0

See more details on using hashes here.

File details

Details for the file ledlang-0.2.9.dev20250824033423-py3-none-any.whl.

File metadata

File hashes

Hashes for ledlang-0.2.9.dev20250824033423-py3-none-any.whl
Algorithm Hash digest
SHA256 739a0b6fdc394357eb248b6c869fee585477cdf5afd56da73dcdf61c71b9c283
MD5 402bf597cf4e69dd786abfef96d17640
BLAKE2b-256 d9a7ce22431e08dbe665220484567e4d73970491601ff15e673cf839b8aa2c33

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page