Version 0.0.1
First Release for Macro Microcontroller BASIC Interpreter
A BASIC interpreter written in C for Macro Microcontroller, providing a simple coding environment via a serial terminal. You may view a demo at Assets/firmware-demo.mp4. Currently available statements:
PRINT: Outputs text to the serial terminal.LET: Assigns a value (integer, float or string) to a variable (Only one variable is allowed for now).INPUT: Assigns a value (integer, float or string) to a variable via user input.GPIO: Turns on a specified GPIO pin for 1 second.LSVAR: Outputs variable name and their value to the serial terminal.END: Clears variable and reset line numbers.EXIT: Puts the device into sleep/power off mode.KEY: Pass GPIO controls to the macropad.
To install Macro Microcontroller BASIC Interpreter, hold the boot button and drag macro-microcontroller-basic-0.0.1.uf2 into the board's storage drive.
Attribution
Macro Microcontroller BASIC compiles source code from the Pico SDK. See Firmware Files/pico_sdk_import.cmake for the Pico SDK license and copyright notice.