Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

fadecandy

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fadecandy

meshblu-fadecandy =================

latest
npmnpm
Version
1.0.0
Version published
Weekly downloads
0
-100%
Maintainers
1
Weekly downloads
 
Created
Source

meshblu-fadecandy

Gateblu plugin for Fade Candy

small_icon

large_icon

##Wiring and set up

Go here!

Also clone the repo in the link above

##Run fcserver

The plugin will message the fcserver app which handles all the USB protocol goodness.

Having cloned the repo you'll find the fcserver app for your os in this folder

##Modes:

  • colorWipe : Fade all pixels to specified color. Pixel definition not required
payload example : {"mode" : "colorWipe", "stripLength" : 64 , "red" : 255 , "blue" : 0, "green" : 0}

  • start : Initialize strip to all pixels off (run this first to start up strip) can be used whenever
payload example : {"mode" : "start"}

  • set : set a pixel. Do this multiple times to set a buffer of pixels to be written
payload example : {"mode" : "set", "pixel" : 0,  "red" : 255 , "blue" : 0, "green" : 0}

  • write : write all pixels in the buffer after having run "set" mode.
payload example : {"mode" : "write"}

  • setWrite : Set pixel and immediately write it
payload example : {"mode" : "setWrite", "pixel" : 10,  "red" : 255 , "blue" : 0, "green" : 0}

Keywords

meshblu-connector

FAQs

Package last updated on 31 Oct 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts