Wednesday, April 14, 2021

Lua for the Raspberry Pi Pico

picolua is a Lua programming environment for the Raspberry Pi Pico microcontroller.

picolua is a proof-of-concept Lua programming environment for the Pi Pico. As well as the Lua run-time, it includes a rudimentary shell that accepts Linux-like commands, a full-screen editor, and basic file management facilities. picolua is designed to be operated by connecting the Pico’s USB to a terminal emulator. Lua functions have been added for controlling the Pico’s GPIO and other peripherals. As a result, it is possible to enter and run simple programs that manipulate connected devices, without the need for any particular development tools. There is support for general digital input/output, analog input, PWM output, and I2C.

Check it out on GitHub!

No comments:

Post a Comment