Skip to content

uPython

  • uPython logo uPython for Tools Tools


    loading="lazy"

    Compile and execute MicroPython scripts

  • Information about application


    • Author: Oliver Fabel
    • Version: 1.6
    • Updated at: 2024-08-26
    • Downloads: 0

    Official Web Installer

Description

MicroPython

MicroPython is a version of the popular Python programming language, especially tailored for the hardware requirements of small microcontrollers, like the Flipper Zero. Instead of supporting the full standard library, only a subset is implemented, carefully selected with the requirements of a microcontroller environment in mind. But this should not limit your creativity and ability to create great applications at all.

API

Visit the repository website on GitHub or scan the QR code on the welcome screen.

Disclaimer

Running MicroPython is a heavy task for the Flipper. This does sometimes lead to an Out of Memory error. This doesn't harm your Flipper.

Changelog

1.6

  • Added extra functions for the random module.

1.5

  • Added io module for basic file system operations.
  • Added logging module to allow level based log messages.
  • Rework of the print function: output redirection, based on script invocation.
  • Added UART support: connect, read and write.
  • Fixed the line feed handling in the REPL.

1.4

  • Added interactive Python shell (aka REPL) as a CLI command.
  • Allow passing a path to a script to execute as a CLI argument.
  • Updated MicroPython to version 1.23.0.

1.3

  • Added simple ADC support: read value and voltage.
  • Added simple PWM support: start, stop, check status.
  • Added infrared support: receive and transmit a signal, check status.
  • Added success indicator to GPIO init function.
  • Reset used GPIO pins upon script termination.
  • Improved GPIO related functions to prevent user errors.
  • Published Python package on PyPI for code completion support.

1.2

  • Added simple GPIO support: initialize, read, write, interrupts.
  • Added constants for musical note frequencies from C0 up to B8.
  • Some minor fixes in the dialog functions.

1.1

  • Display splash screen upon application start.
  • API documentation available on GitHub pages.

1.0

  • Initial stable release.