Skip to content

Releases: Nicholas1023/macro-microcontroller-2

Version 0.0.3

Choose a tag to compare

@Nicholas1023 Nicholas1023 released this 04 Jul 01:17

Macro Microcontroller BASIC Interpreter V0.0.3

A BASIC interpreter written in C for Macro Microcontroller, providing a simple coding environment via the serial terminal. You may view a demo at Assets/firmware-demo.mp4.

What's New:

New REM statement to add support for comments in your program:

10 REM "Prints a statement"
20 PRINT "Hello!"

Full Changelog: v0.0.2...v0.0.3

Statements:

  1. PRINT: Outputs text to the serial terminal.
  2. LET: Assigns a value (integer, float or string) to a variable (Only one variable is allowed for now).
  3. INPUT: Assigns a value (integer, float or string) to a variable via user input.
  4. GPIO: Turns on a specified GPIO pin for 1 second.
  5. LSVAR: Outputs variable name and their value to the serial terminal.
  6. END: Clears variable and reset line numbers.
  7. EXIT: Puts the device into sleep/power off mode.
  8. KEY: Pass GPIO controls to the macropad.
  9. REM: Add comments to your program.

To install Macro Microcontroller BASIC Interpreter, hold the boot button and drag macro-microcontroller-basic-0.0.3.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.

Version 0.0.2

Choose a tag to compare

@Nicholas1023 Nicholas1023 released this 03 Jul 08:37

Macro Microcontroller BASIC Interpreter V0.0.2

A BASIC interpreter written in C for Macro Microcontroller, providing a simple coding environment via the serial terminal. You may view a demo at Assets/firmware-demo.mp4.

What's New:

New RND function which generates a random 6 decimal place float from 0 to 1 (inclusive):

10 LET X = RND
20 PRINT X

Full Changelog: v0.0.1...v0.0.2

Statements:

  1. PRINT: Outputs text to the serial terminal.
  2. LET: Assigns a value (integer, float or string) to a variable (Only one variable is allowed for now).
  3. INPUT: Assigns a value (integer, float or string) to a variable via user input.
  4. GPIO: Turns on a specified GPIO pin for 1 second.
  5. LSVAR: Outputs variable name and their value to the serial terminal.
  6. END: Clears variable and reset line numbers.
  7. EXIT: Puts the device into sleep/power off mode.
  8. KEY: Pass GPIO controls to the macropad.

To install Macro Microcontroller BASIC Interpreter, hold the boot button and drag macro-microcontroller-basic-0.0.2.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.

Version 0.0.1

Choose a tag to compare

@Nicholas1023 Nicholas1023 released this 20 Jun 05:58

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:

  1. PRINT: Outputs text to the serial terminal.
  2. LET: Assigns a value (integer, float or string) to a variable (Only one variable is allowed for now).
  3. INPUT: Assigns a value (integer, float or string) to a variable via user input.
  4. GPIO: Turns on a specified GPIO pin for 1 second.
  5. LSVAR: Outputs variable name and their value to the serial terminal.
  6. END: Clears variable and reset line numbers.
  7. EXIT: Puts the device into sleep/power off mode.
  8. 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.