Could anyone let me know what is the file particle.h is about, Because when i try to create a new project for tracker SOM device once i build the .ino file a .cpp file gets created. But in that a particle.h file would be included.why is that and if we want to write the custom firmware or use any single library alone like Thermistor how do we resolve the Include file not found in browse.path for particle.h
The Particle.h file contains all of the header files for Device OS itself. Classes for Particle cloud functions like Particle.publish()
as well as built-in Arduino-like classes such as Serial
, Wire
, and String
.
It does not contain any header files for libraries. There are thousands of libraries, it would be impractical and inefficient to do that. You need to manually include the library’s header.
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.