Home > Enterprise >  Both arduino ide and idf esclipe have the same syntax and example.?
Both arduino ide and idf esclipe have the same syntax and example.?

Time:10-17

I was looking for a tutorial for ESP32. I discovered a few tutorials, each of which uses a different IDE, such as the Arduino IDE or IDF . So they're both using c. But do these two ides have the same syntax? Is it possible to use the same code on an Arduino Ide? If I take a tutorial for IDF Ide, whatever I learn can I apply to an Arduino Ide?

CodePudding user response:

Syntax doesn't depend on the IDE, there's standard C, and there's extensions, which depend on the compiler being used. An IDE may support more than one compiler. In general it doesn't matter at all unless you're using extensions, which should be restricted to platform-specific abstractions and other low-level stuff, not to be seen in application code.

  • Related