r/ArduinoProjects • u/LifeChoiceQuestion • 3h ago
Other After 3 months of hard work i have achieved blinking LED
I have been hard at work these past 3 months, and today i have finally completed the milestone of a blinking LED!
I first wrote a small VM on the Arduino with C (for educational purposes and better control over Serial) that reads data sent over serial, and executes commands based off of that. It has a couple of instructions for setpin, readpin, delay etc...
Then i made my own programming language where i would eventually write my blinking LED in (that's the part that took me 2.5 months). It has error detection, loops, variables, and definitions, but no functions (yet).
And today i finally implemented the part to hook up the Arduino VM to my programming language's bytecode interpreter.
It is still pretty slow and not optimised yet, and there are a lot of bugs still (and i don't have functions yet), but the base is there!
I am also making a vscode extension to support my language :)
The goal of my language (Arduint (Arduino + Interpreter)) is to make programming Arduino as easy as possible without resorting to building with blocks (because let's be real, you're not a baby :)
Soon i might publish version 0.1 or something i think, if anyone's interested!