• @[email protected]
      link
      fedilink
      48 days ago

      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?

      • @[email protected]
        link
        fedilink
        88 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.

      • @[email protected]
        link
        fedilink
        68 days ago

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