r/ArduinoProjects • u/LifeChoiceQuestion • 2d ago
Other After 3 months of hard work i have achieved blinking LED
Enable HLS to view with audio, or disable this notification
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!
7
u/stancr 1d ago
Wow, what degree are you pursuing?
11
u/ChirpyBlue 2d ago
Very impressive to write your own language, and I'm sure it's an incredible educational experience for yourself... but... damn dog you really like hard mode don't ya
1
u/rouggio 1d ago
I think you need a resistor on that led :p
1
u/corporacionRobot 1d ago
Felicidades sigue así
2
u/davesaunders 1d ago
This reads like old school hacking days in the 70s. I respect the exploration and the pioneering.
0
u/miijjii 1d ago
Why are you reinventing the wheel?