Intigrating into my project

I just set up a account and I have a piece of code that blinks and led and sends events to the particle cloud. How can I send this data to Here is the code

void setup(){
pinMode(D7, OUTPUT);

void loop(){
digitalWrite(D7, HIGH);
Spark.publish("ledStatus", "HIGH");
digitalWrite(D7, LOW);
Spark.publish("ledStatus", "LOW");

What have you tried so far?

I went to and added an app and named it blink-led.I then got an auth key and an auth secret key.

Theres some introduction using a photon here :, theres code linked below the video.

Seems you send json data over http, so reasonably straight forward.

1 Like