You should read about Particle.publish and Particle.subscribe in the docs. That is the system you need to use to communicate between two devices.
You should read about Particle.publish and Particle.subscribe in the docs. That is the system you need to use to communicate between two devices.