Skip Navigation

Controlling a Particle Photon with Javascript

In this series, we will show you how to control the particle photon's RGB light. We'll use this as an example as you may not yet have any additional accessories wired into your Photon. After learning how to work with the RGB led on the board you will be able to apply the same concepts to whatever you make.  This series will focus on inputting data into the Photon from javascript. Check out some of our other series on exporting data out of the Photon.

Difficulty:

intermediate

Instructor:

Trevor Greenleaf

Learning Outcome:

  • Change color of RGB Led Light
  • Use an HTML form to control photon
  • Use Keyboard arrow keys to change actions on Photon
  • Control Photon with Vue.js