this post was submitted on 30 Dec 2024
521 points (98.5% liked)

Programmer Humor

19880 readers
152 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] cows_are_underrated@feddit.org 5 points 6 days ago (1 children)

Didnt knew Arduino is a programming language now.

[–] tetris11@lemmy.ml 4 points 6 days ago (2 children)

To be honest I'm still confused by a lot of these microcontroller languages (PlatformIO/Arduino/ESPHome)...

Are they just drag and drop feature blocks that are essentially C macros, but you never get to see the code and its all abstracted with flow diagrams?

[–] Kratzkopf@discuss.tchncs.de 9 points 6 days ago

The standard Arduino platform is essentially C, just with some standard hardware-near procedures hidden away as far as I know. You can just write standard C code in two blocks: init and loop. Then the loop block will be repeated for ever. For controlling voltage pins you have easy commands similatlr to like pinState(PinNumber, on/off). I do not know about the others you mentioned, but there definetely is also some implementations for Raspberry Pi control by drag&drop. There is no need to limit yourself with those though.

[–] DaPorkchop_@lemmy.ml 7 points 6 days ago

I don't know about the others, but Arduino is literally just C++ with some macros/library functions.