4 ms·
It's more C with some macros. The Arduino UNO and older classic Arduino models like Mega had only a few KB of memory, you want to keep an eye on the resources a
by frik 10y ago
It's more C with some macros. The Arduino UNO and older classic Arduino models like Mega had only a few KB of memory, you want to keep an eye on the resources and in many cases even avoid malloc. The compiler supports a limited C++ dialect. http://www.nongnu.org/avr-libc/user-manual/FAQ.html#faq_cplusplus http://www.nongnu.org/avr-libc/user-manual/FAQ.html#faq_cplu... (Not sure about the newer hardware with ARM CPUs and newer tools.)
- TickleSteve 10y agoNo, Arduino uses the standard avr-gcc as its toolchain: https://www.arduino.cc/en/Hacking/BuildProcess https://www.arduino.cc/en/Hacking/BuildProcess 'Arduino' is simply a set of C/C++ frameworks for the peripherals and a simple IDE.
- ric129 10y agoIt's C++, I recall using C++11 constructs on a recent Arduino project.