Things used in this project

Code

Photon codeC/C++
App for publishing event
int i=0;

void setup()
{

//nothing here for demo
}


void loop()
{

    char payload[255];
    snprintf(payload, sizeof(payload),"{\"v\": %d}",i);  

    Particle.publish("nista", payload,60,PRIVATE);
    delay(5000);
    i++
  
}

Credits

600 450752059
Zoran Roncevic
18 projects • 104 followers
Hackster Live ambassador in Serbia. Organizer of Maker NS community.
Contact

Replications

Did you replicate this project? Share it!

I made one

Love this project? Think it could be improved? Tell us what you think!

Give feedback

Comments

Add projectSign up / Login