This might help you out. I had to include the application.h file at the top of my .h file to get it to compile right.
RWB
2
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Porting from Arduino to Particle.io (Simplified-Hopefully) | 33 | 14372 | July 11, 2020 | |
| Rosetta Stone for people familiar with Arduino? | 14 | 3435 | April 10, 2014 | |
| External Arduino libraries | 16 | 7491 | December 31, 2018 | |
| Code portability - Uno, Leonardo, SparkIO - and language definition | 19 | 5592 | June 8, 2014 | |
| Best way to setup Spark project (boilerplate)? | 17 | 4025 | October 12, 2016 |