moddable
circuitpython
Our great sponsors
moddable | circuitpython | |
---|---|---|
12 | 93 | |
1,265 | 3,894 | |
1.9% | 1.7% | |
9.8 | 0.0 | |
9 days ago | about 4 hours ago | |
C | C | |
- | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
moddable
-
Is there a safe and robust interpreter/scripting language? Or should I write it myself?
Your project might be a good candidate for the Moddable SDK: https://github.com/Moddable-OpenSource/moddable In particular the "mods" feature that allows sandboxed user scripts.
- Moddable Embedded JavaScript SDK 3.5.0
-
The Story of Mel, a Real Programmer
> meaning that to deploy those apps requires embedding an entire web browser into every app
It doesn't require it, that's just what they choose, and it has little to do with the language. (Besides, if you actually observe them—and ignore what they tell you about liking JS—then it's clear that most of them hate their preferred language.) Languages and the bindings that a particular runtime exposes are orthogonal. You can have GTK apps written in JS, for example, or you can write a program in JS that compiles into a binary that runs on a microcontroller[2].
This is much more of a problem with the culture of Electron and the adjacent NPM ecosystem than it is anything else. Conflating the source of these problems is a great way to tank any would-be activism meant to solve them.
1. <https://en.wikipedia.org/wiki/GNOME_Shell>
2. <https://github.com/Moddable-OpenSource/moddable/blob/public/...>
- Moddable SDK: Embedded ECMAscript engine supports RasPi, littlefs file system
-
Microvium Is Small
I experimented with Moddable some time ago and also contributed a module for Linux. It's written in C and I found the code quite readable, and the entire architecture good too. It's almost ES6 complete too.
https://github.com/Moddable-OpenSource/moddable
https://www.moddable.com/
-
Pikascript: An ultra-lightweight Python engine that can run in 4Kb of RAM
There's JavaScript/ECMAScript via Moddable's XS engine: https://github.com/Moddable-OpenSource/moddable
"A typical microcontroller used with the Moddable SDK has about 45 KB of free memory, 1 MB of Flash ROM, and runs at 80 MHz. The Moddable SDK uses many different techniques, both at build time and at run time, to work efficiently on these devices."
- Moddable JavaScript SDK for Raspberry Pi Pico
-
Why is MicroPython a thing
You think that’s bad. How about JavaScript for embedded https://github.com/Moddable-OpenSource/moddable
- Running TypeScript on ESP8266/ESP32 Devices
- Why doesn’t V8 fit on my microcontroller?
circuitpython
-
Thoughts on a machine?
As another point for those interested, it (to my knowledge) is currently the ONLY implementation of a scoring machine that the firmware for the device is written in Circuit Python. which gives this unit an advantage when it comes to any and all multi tasking that the unit may need to do.
-
Unveiling secrets of the ESP32: creating an open-source Mac layer
The barrier to entry has never been lower. Last night I prototyped some code in Python on my Mac to talk to a Bluetooth peripheral, and then had ChatGPT translate it to Arduino C++ code for a $5 ESP32 which mostly worked on the first go.
You can even run Python on microcontrollers these days. See Adafruit's https://circuitpython.org for which they publish modules for many (almost all?) of the sensors they sell. The modern microcontroller frameworks hide much of the complexity of Wi-Fi, Bluetooth, filesystems, etc. so you can do complicated things with minimal effort. You can really cobble something together in an afternoon.
-
ALT.CTRL.GameCraft Workshop @ Beta Festival Write-up
The Pico runs CircuitPython and uses Adafruit's HID library to emulate a keyboard. It's also possible to emulate a mouse and a gamepad (there are some experiments for gamepad emulation in experiments).
- CircuitPython added supports for Makerdiary nRF52840 Connect Kit
-
HT1632c library for circuitpython
Asked your question in the adafruit discord and they said there's no HT1632c library for circuit python yet. There is a library for micropython. You can request to have it ported from the Micropython library I linked to by opening a feature request in the Circuit Python Github. That would be your best option for now or attempt to port the library yourself.
- Question about programming arduino
-
This may be an odd question but can someone give me a Tl;dr of the Adafruit ecosystem between 2019-now?
Microcontrollers can run Python now https://circuitpython.org/
-
Projects for newbs!
I'm aware of two versions of Python for microcontrollers. Micro Python and Circuit Python
-
Pause and resume more than one audiofile with audiocore
I tried to look in https://github.com/adafruit/circuitpython/tree/main/shared-bindings at audiocore, audioio, an audiomixer looking for a way to access the sample counter manually but I have no clue what I'm looking at :(
-
Pico W only connects to Wi-Fi once, then needs uf2 nuke
Try CircuitPython 8.0.3. The commit log has a couple networking changes for the Pico. My MQTT client seems to have fewer connection issues though they could be a fluke https://github.com/adafruit/circuitpython/compare/8.0.2...8.0.3
What are some alternatives?
quickjs-esp32 - QuickJS port for ESP32
MicroPython - MicroPython - a lean and efficient Python implementation for microcontrollers and constrained systems
Espruino - The Espruino JavaScript interpreter - Official Repo
micropython-ulab - a numpy-like fast vector module for micropython, circuitpython, and their derivatives
PikaPython - An ultra-lightweight Python interpreter that runs with only 4KB of RAM, zero dependencies. It is ready to use out of the box without any configuration required and easy to extend with C. Similar project: MicroPython, JerryScript.
CPython - The Python programming language
phpdesktop - Develop desktop GUI applications using PHP, HTML5, JavaScript and SQLite
RustPython - A Python Interpreter written in Rust
microvium - A compact, embeddable scripting engine for applications and microcontrollers for executing programs written in a subset of the JavaScript language.
arduino - Firmata firmware for Arduino
embedded-hal - A Hardware Abstraction Layer (HAL) for embedded systems
c-solutions - My Solutions to K. N. King's "C Programming: A Modern Approach", second edition