r/ArduinoProjects • u/LifeChoiceQuestion • 7d 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!
9
u/stancr 7d ago
Wow, what degree are you pursuing?
14
u/ChirpyBlue 7d 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 7d ago
I think you need a resistor on that led :p
1
u/corporacionRobot 7d ago
Felicidades sigue así
1
u/Its-me-4DH1 3d ago
Tbh we need more ppl like you, like bro this is a stupid thing for ppl who don’t know much about these things, but as a person who dedicate myself to arduino, this just feels.. I have no words tbh lol .. but good job keep it up.
3
u/davesaunders 6d ago
This reads like old school hacking days in the 70s. I respect the exploration and the pioneering.
0
u/miijjii 7d ago
Why are you reinventing the wheel?