"Hello World" Photon network program?

I’m going to be teaching a class using Photons. Once we have blink and button programs working, I would like to show the power of networked things.

Ideally, each student would be able to push a button on their Photon, and the Photon would send a message to a server. The server would collect and display (in real time) counts and details of the received messages.

Can someone point me in the right direction to get started with this? Are there any recommended sites that might have a Pub/Sub or Message Queue model already running for this?

Many TIA!

This is simple enough to get started, and should be easily modified to do what you want. Better yet, set challenges for the students to make it do certain things on different actions:

1 Like