Trying to understand how to use particle.publish

There already is a tutorial for that