This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// This #include statement was automatically added by the Particle IDE. | |
#include "opcserver.h" | |
SYSTEM_THREAD(ENABLED); | |
#include "FastLED/FastLED.h" | |
FASTLED_USING_NAMESPACE | |
#include "math.h" | |
#define MAX_LEDS 256 // Upper limit; OK to receive data for fewer |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
# encoding: utf-8 | |
''' | |
boblighthue -- shortdesc | |
boblighthue connects a hue light to boblightd | |
@author: Christian Völlinger | |
@copyright: 2016 Christian Völlinger. All rights reserved. | |
@license: GNU GENERAL PUBLIC LICENSE v3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#[global] | |
interface 127.0.0.1 | |
port 19333 | |
[device] | |
name ambilight | |
#via udev-rule | |
output /dev/sensors/ftdi_AH01DLTX | |
#output /dev/ttyUSB0 | |
channels 90 |