I can simplify and teach anything I understand, but I am having a really hard time understanding porting from Arduino to Particle.io. Could someone please clear up a few things:
A: Some Arduino include files are pre-installed on the particle IDE, so we just have to delete the include calls from the Arduino code.
Wire.h (I2C serial communication)
Servo.h
stdio.h
SPI.h (SPI serial communication)
are their any more include files we can add to this list that are pre-installed into the particle IDE?
.
.
.
.
B: A few include files are pre-supported by the Particle.io IDE but you still have to call them.
#include "math.h"
replace #include "Arduino.h" and #include "application.h" with #include "Particle.h"
Does anyone know the complete list of includes that you can just call from the IDE?
.
.
.
.
C: Some Arduino include files have supporting include files that just have to be fully written and included in your app, the following list occure more often than others
#include “fonts.h”
#include “Adafruit_mfGFX.h”
#include “SparkIntervalTimer.h”
#include “Keypad.h”
#include “JsonObjectBase.h”
#include “elapsedMills.h”
#include “Adafruit_Sensor.h”
#include “RGBmatrixPanel.h”
Can anyone think of other include files that are often called from inside Arduino style include files?
.
.
.
.
By the way if you have never seen @peekay123 github site it is a wonder to behold https://github.com/pkourany?tab=repositories
P.S. We can talk about the libraries on another post.