Adalight device added

Former-commit-id: d9b9a146b39ba83fada52de2b6076dde7e44b151
This commit is contained in:
johan
2013-11-11 21:07:24 +01:00
parent 0a6706e177
commit 5c71e626c7
11 changed files with 109 additions and 15 deletions

View File

@@ -26,10 +26,10 @@ public class DeviceConfig {
strBuf.append("\t/// Device configuration contains the following fields: \n");
strBuf.append("\t/// * 'name' : The user friendly name of the device (only used for display purposes)\n");
strBuf.append("\t/// * 'type' : The type of the device or leds (known types for now are 'ws2801', 'lpd6803', 'sedu', 'test' and 'none')\n");
strBuf.append("\t/// * 'output' : The output specification depends on selected device\n");
strBuf.append("\t/// - 'ws2801' this is the device (eg '/dev/spidev0.0 or /dev/ttyS0')\n");
strBuf.append("\t/// - 'test' this is the file used to write test output (eg '/home/pi/hyperion.out')\n");
strBuf.append("\t/// * 'type' : The type of the device or leds (known types for now are 'ws2801', 'lpd6803', 'sedu',\n");
strBuf.append("\t/// 'adalight', 'test' and 'none')\n");
strBuf.append("\t/// * 'output' : The output specification depends on selected device. This can for example be the\n");
strBuf.append("\t/// device specifier or the output file name\n");
strBuf.append("\t/// * 'rate' : The baudrate of the output to the device\n");
strBuf.append("\t/// * 'colorOrder' : The order of the color bytes ('rgb', 'rbg', 'bgr', etc.).\n");

View File

@@ -10,6 +10,8 @@ public enum DeviceType {
lpd6803("LPD6803"),
/** SEDU LED device */
sedu("SEDU"),
/** Adalight device */
adalight("Adalight"),
/** Test device for writing color values to file-output */
test("Test"),
/** No device, no output is generated */