this post was submitted on 30 Dec 2024
506 points (98.7% liked)

Programmer Humor

20743 readers
338 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 4 points 1 month ago (3 children)

Didnt knew Arduino is a programming language now.

[–] tetris11@lemmy.ml 3 points 1 month 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 7 points 1 month 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.

load more comments (1 replies)
load more comments (1 replies)