Created
July 21, 2015 07:24
-
-
Save daid/82d2f523e064af16a642 to your computer and use it in GitHub Desktop.
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
#[hardware] | |
#device = DMX512SerialDevice | |
#device = EnttecDMXProDevice | |
#device = VirtualOutputDevice | |
#port = COM1 | |
#[hardware] | |
## Virtual output device, for debugging. Will show up as white squares on the screen. | |
#device = VirtualOutputDevice | |
[hardware] | |
# Arduino Mega 2560 with an ATMega8U2 is idenfied with \Device\USBSER@@@ on windows. | |
# Use the DMX512SerialDevice which can be used to talk to firmware with the driver from: https://github.com/mathertel/DMXSerial directly without extra hardware. | |
device = DMX512SerialDevice | |
port = \Device\USBSER@@@ | |
channels = 32 | |
[channels] | |
MainCabinLights = 0 | |
WarningLights = 1 | |
[state] | |
condition = Always | |
target = MainCabinLights | |
value = 1.0 | |
[state] | |
condition = HasShip == 0 | |
target = MainCabinLights | |
effect = Glow | |
min_value = 0.0 | |
max_value = 0.5 | |
time = 1.0 | |
[state] | |
condition = Hull < 50 | |
target = WarningLights | |
effect = Blink | |
on_time = 0.05 | |
off_time = 0.05 | |
[state] | |
condition = HasShip == 0 | |
target = WarningLights | |
value = 0.0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment