-
1Source Code Acquisition
Clone or download the repository from the official GitHub page: https://github.com/dilshan/tiny-basic.
-
2Compilation and Flashing
- Open the downloaded project folder inside Visual Studio Code (ensuring the PlatformIO extension is installed).
- PlatformIO will automatically evaluate the platformio.ini configuration file and retrieve the required toolchains and framework dependencies.
- Connect your Arduino board to the computer via a USB cable.
- Select your specific target environment (either due or uno_r4) from the PlatformIO project tasks panel.
- Execute the Build task, followed by the Upload task to flash the binary onto the MCU.
- Launch the PlatformIO Serial Monitor or any preferred terminal application (such as PuTTY or minicom).
- Configure the serial connection parameters to a baud rate of 9600.
-
3Testing the interpreter
Upon a successful connection, the Tiny Basic prompt will appear on your screen. You may then execute scripts as follows:
10 PRINT "HELLO FROM Tiny Basic!" 20 END RUN
Dilshan Jayakody
Discussions
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.