We have recently developed the ability to run MicroPython "bare metal" in a web browser. This is acomplished using unicorn.js, which is an Emscripted version of unicorn, which is a stripped-down version of QEMU. We have used unicorn.js to implement a Cortex-M3 based "virtual microcontroller" that runs in the browser. And then this virtual microcontroller runs a port of MicroPython, the unicorn port.
Running this unicorn port of MicroPython will give you a good idea of what it's like running MicroPython on the bare metal of real hardware, and allows you to test stuff out quickly, and get to know (new) features of MicroPython.
Find a running version at: https://micropython.org/unicorn/
Find the source code at: https://github.com/micropython/micropython-unicorn
At the moment the port is pretty minimal and doesn't have many features enabled. Plans for the future include different builds of unicorn MicroPython to show-case size vs features, as well as modules such as "machine".
Damien // George Robotics.
Announcements and news related to MicroPython.
3 posts • Page 1 of 1
Just saw that the link has been updated with examples to select/test virtual LEDs, Servos and ADC in the browser.
As far as I'm concerned Clarke's third law applies to this. Amazing
Who is online
Users browsing this forum: No registered users and 3 guests