FadeCandy

Ikaros modele for FadeCandy that allows Ikaros to control NeoPixels through a FadeCandy (https://github.com/scanlime fadecandy). The module starts the fadecandy server using the name set by command. The binary is assumed to be placed next to the module. If command is set to "" (empty string), the server will not be started. The different channels of NeoPixels are defined by a channel-elemnt that sets the name, channel numer and size. Three inputs for the red, green and blue colours values are created for each channel. If the channel is named X, the input will be named X_RED, X_GREEN and X_BLUE. The data sent uses the default format for FadeCandy where the data for each channel sent to the server is assumed to start at position 4+64*channel*3 within a single package.

Example XML definition

A simple example

  <module
      class = "FadeCandy"
      name = "FadeCandy"
  />

Parameters

NameDescriptionTypeDefault
classThe class name for the module; must be "FadeCandy".string
nameThe name of this instance of the module.string
commandName of the fadecandy serverstringfcserver-osx

Module Connections

Inputs

NameDescription
*The channels can have arbitrary names

Limitations

Only works with NeoPixel-arrays with a maximum of 64 pixels each.

Author

Christian Balkenius
christian.balkenius@lucs.lu.se
Lund University Cognitive Science

Files

FadeCandy.h
FadeCandy.cc
FadeCandy.ikc

blog comments powered by Disqus