For now we will just use one button for ON and one for OFF. So we want to grab the from the ButtonOn and ButtonOff blocks.

  1. To that we will add a Set block for theVar variable. Also add the value of “on”to this.
  2. Next we will be calling on the SendToParticle Procedure.

That is it!

Once this App is loaded onto your phone it will turn the built-in LED, attached to Pin 7 on the Particle device, on or off.

This guide was first published on Jul 10, 2018. It was last updated on Mar 08, 2024.

This page (The Button Click) was last updated on Mar 08, 2024.

Text editor powered by tinymce.