Skip to content

Environment setup for running Johnny-Five on a Particle.io Photon Module

License

Notifications You must be signed in to change notification settings

wehrhaus/J5-Photon-Setup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

J5 Photon Setup

Particle.io Photon module running Johnny-Five.

SETUP

  • Follow the Particle.io Photon Getting Started instructions.
  • Open the Particle.io Editor to get your Device ID (Devices) and Access Token (Settings)
  • Run npm install and follow the preinstall configuration instructions.
  • Run particle cloud login
  • Run npm run voodoo_install
  • Run npm run voodoo_flash

Everything is now ready to go. To test run node src/examples/blinkLed

References

DEV NOTES

Adding color to sh files

Color can be adding to any output text via $(tput setaf #) where # is a VALUE from the table below. To reset color use $(tput sgr0).

Example: echo $(tput setaf 1)ERROR$(tput sgr0). Will output ERROR in red.

** Basic tput setaf color table:
Color       #define       Value       RGB
black     COLOR_BLACK       0     0, 0, 0
red       COLOR_RED         1     max,0,0
green     COLOR_GREEN       2     0,max,0
yellow    COLOR_YELLOW      3     max,max,0
blue      COLOR_BLUE        4     0,0,max
magenta   COLOR_MAGENTA     5     max,0,max
cyan      COLOR_CYAN        6     0,max,max
white     COLOR_WHITE       7     max,max,max

About

Environment setup for running Johnny-Five on a Particle.io Photon Module

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published