Language syntax
Particle devices are programmed in C/C++. While the Arduino compatibility features are available as described below, you can also write programs in plain C or C++, specifically:
Device OS Version | C++ (.cpp and .ino) | C (.c) |
---|---|---|
3.3.0 and later | gcc C++17 | gcc C11 |
1.2.1 to 3.2.x | gcc C++14 | gcc C11 |
earlier versions | gcc C++11 | gcc C11 |
The following documentation is based on the Arduino reference which can be found here.