mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2023-10-10 13:36:59 +02:00
Added the ldp6803 led device to HyperCon
Former-commit-id: 899bc2f50974ed22948a515f2839a6c14570d74d
This commit is contained in:
parent
491dcc706b
commit
fb23befdee
@ -1 +1 @@
|
|||||||
35cdefd478667e83a1e20cda67cef4763b59ec25
|
6f2aab422e3d1b03080de92c3e3aea9b270a3e9b
|
@ -26,7 +26,7 @@ public class DeviceConfig {
|
|||||||
|
|
||||||
strBuf.append("\t/// Device configuration contains the following fields: \n");
|
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/// * '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', 'test' and 'none')\n");
|
strBuf.append("\t/// * 'type' : The type of the device or leds (known types for now are 'ws2801', 'ldp6803', 'test' and 'none')\n");
|
||||||
strBuf.append("\t/// * 'output' : The output specification depends on selected device\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')\n");
|
strBuf.append("\t/// - 'ws2801' this is the device (eg '/dev/spidev0.0')\n");
|
||||||
strBuf.append("\t/// - 'test' this is the file used to write test output (eg '/home/pi/hyperion.out')\n");
|
strBuf.append("\t/// - 'test' this is the file used to write test output (eg '/home/pi/hyperion.out')\n");
|
||||||
|
@ -4,8 +4,10 @@ package org.hyperion.hypercon.spec;
|
|||||||
* Enumeration of known device types
|
* Enumeration of known device types
|
||||||
*/
|
*/
|
||||||
public enum DeviceType {
|
public enum DeviceType {
|
||||||
/** WS2801 Led String device with one continuous shift-register */
|
/** WS2801 Led String device with one continuous shift-register (1 byte per color-channel) */
|
||||||
ws2801("WS2801"),
|
ws2801("WS2801"),
|
||||||
|
/** LDP6803 Led String device with one continuous shift-register (5 bits per color channel)*/
|
||||||
|
ldp6803("LDP6803"),
|
||||||
/** Test device for writing color values to file-output */
|
/** Test device for writing color values to file-output */
|
||||||
test("Test"),
|
test("Test"),
|
||||||
/** No device, no output is generated */
|
/** No device, no output is generated */
|
||||||
|
Loading…
Reference in New Issue
Block a user