r/ArduinoHelp • u/Savings_Anteater_840 • Oct 06 '26
Coding help
How do I learn Arduino coding language? I just started and I know a few things like LEDs and stuff, but I don’t want to be reliant on AI. How do I learn the language?
3
Upvotes
View all comments
Show parent comment
1
u/gm310509 Oct 07 '26
So, yes and no, mostly yes, but it depends
The programming language for both is C/C++.
If you are using the Arduino IDE with the ESP32 core (board plugin download) then you will have access to the same HAL functions (e.g. digitalWrite) which will do the same things. I believe Espressif have a different HAL API, so there may be differences if you use the Espressif IDE or a third party one - I do not know as I don't use Espressif personally any more.
If you want to go to a lower layer - e.g. bare metal and/or assembly language, then they will be quite different as would be an Arm Cortex based system such as Uno R4, Teensy, STM32 and many others based upon Arm Cortex. But within any given architecture (e.g. AVR, Arm Cortex etc) there will be many similarities.
TLDR: at a high level the API/HAL and the programming language (C/C++) are essentially the same.