Head:	Program_Generator configuration file	V1.0
Sheet:	DCC	102_Produktion
Line:	Act								// Set_LED_OutpPinLst(27 32 16 14 18 19 23 0)			0	0	
Line:	Act								#ifdef ESP32{NewLine}   #define USE_ESP32_EXTENSIONS{NewLine}   #define USE_UI{NewLine}#endif			0	0	
Line:	-													
Line:	-		SwitchD1			Schalter D1 (einmal drücken = an, nochmal drücken = aus)			T_FlipFlopReset(D1, #InCh, SI_0)			1	0	
Line:	-		SwitchD2			Schalter D2 (einmal drücken = an, nochmal drücken = aus)			T_FlipFlopReset(D2, #InCh, SI_0)			1	0	
Line:	-		SwitchD3			Schalter D3 (einmal drücken = an, nochmal drücken = aus)			T_FlipFlopReset(D3, #InCh, SI_0)			1	0	
Line:	Act					Ch 0 Heartbeat (grün blinkende Heartbeats #0 bis 7)			RGB_Heartbeat_Color(#LED, 5, 120, 150, 1 Sek)	0-0	1	0	0	0
Line:	-					Ch 1 Heartbeat (deaktivieren bei PushButtons)			RGB_Heartbeat_Color(#LED, 5, 120, 150, 1 Sek)		1	0	0	1
Line:	Act					Ch 2 Heartbeat			RGB_Heartbeat_Color(#LED, 5, 120, 150, 1 Sek)	2-0	1	0	0	2
Line:	-					Ch 3 Heartbeat			RGB_Heartbeat_Color(#LED, 5, 120, 150, 1 Sek)		1	0	0	3
Line:	-					Ch 4 Heartbeat			RGB_Heartbeat_Color(#LED, 5, 120, 150, 1 Sek)		1	0	0	4
Line:	-					Ch 5 Heartbeat			RGB_Heartbeat_Color(#LED, 5, 120, 150, 1 Sek)		1	0	0	5
Line:	-					Ch 6 Heartbeat (deaktivieren bei DMX)			RGB_Heartbeat_Color(#LED, 5, 120, 150, 1 Sek)		1	0	0	6
Line:	Act					OnBoard-LEDs (nicht bei Verwendung der Status-LEDs)			// Reserve LEDs(1)	7-0	1	0	0	7
Line:	-		D1			Status-LED gelb (leuchtet schwach wenn D1 = aus, hell wenn D1 = an)			Const(#LED, C1, #InCh, 9, 255)		C1-1	1	0	7
Line:	-		D2			Status-LED weiß (leuchtet schwach wenn D2 = aus, hell wenn D2 = an)			Const(#LED, C2, #InCh, 3, 90)		C2-2	1	0	7
Line:	-		D3			Status-LED blau (leuchtet schwach wenn D3 = aus, hell wenn D3 = an)			Const(#LED, C3, #InCh, 5, 180)		C3-3	1	0	7
Line:	Act				1	MLL-Ring (pc)			RGB_Ring(#LED, #InCh, 10, 100)	7-1	12	1	0	7
Line:	-					Ch 7 Heartbeat			RGB_Heartbeat_Color(#LED, 5, 120, 150, 1 Sek)		1	0	0	7
Line:	Act					Raumfarbe 0 wie Warm White aber dunkler			// Set_ColTab(Red Green Blue)      {NewLine}Set_ColTab( 38,  10,   0, // *ROOM_COL0{NewLine}            22,  44,  27, //  ROOM_COL1{NewLine}           155,  73,   5, //  ROOM_COL2{NewLine}            39,  18,   1, //  ROOM_COL3{NewLine}            30,   0,   0, //  ROOM_COL4{NewLine}            79,  39,   7, //  ROOM_COL5{NewLine}            50,  50,  50, //  GAS_LIGHT D{NewLine}           255, 255, 255, //  GAS LIGHT{NewLine}            13,  13,  18, // *NEON_LIGHT D{NewLine}            70,  70,  80, //  NEON_LIGHT M{NewLine}           245, 245, 255, //  NEON_LIGHT{NewLine}            38,  38,  15, // *ROOM_TV0 A{NewLine}            70,  70,  30, //  ROOM_TV0 B{NewLine}            38,  38,  16, // *ROOM_TV1 A{NewLine}            38,  38,   6, // *ROOM_TV1 B{NewLine}           255, 255, 255, //  SINGLE_LED{NewLine}            50,  50,  50) //  SINGLE_LED D					
Line:	Act					Soundmodul 1 als Kanal 0 definieren			SOUND_CHANNEL_DEFINITON(KEY80_P1, MP3-TF-16P)	S0	S	0	0	0
Line:	Act					Soundmodul 2 als Kanal 1 definieren			SOUND_CHANNEL_DEFINITON(KEY80_P2, JQ6500)	S1	S	0	0	1
Line:	Act		SwitchB2			Taster für Holzfäller bei der Arbeit			PushButton_RGB_0_2(#LED, #InCh, Holzfaeller0, 1, 1, 0, 0, 0, 0, 0, 5, 10, 0, 0, 10, 0, 0, 0, 10, 0, 0, 10, 0)	1-0	1	1	0	1
Line:	Act		SwitchB3			Taster für Laternen Rangierbahnhof			PushButton_RGB_0_1(#LED, #InCh, LaternenRangierbahnhof0, 1, 1, 0, 0, 0, 0, 0, 5, 10, 0, 0, 10, 0, 0)	1-1	1	1	0	1
Line:	Act		SwitchB4			Taster für Markplatzlaternen			PushButton_RGB_0_1(#LED, #InCh, LaternenMarktplatz0, 1, 1, 0, 0, 0, 0, 0, 5, 10, 0, 0, 10, 0, 0)	1-2	1	1	0	1
Line:	Act		SwitchB5			Taster für Ringstraße			PushButton_RGB_0_1(#LED, #InCh, LatRingstrasse0, 1, 1, 0, 0, 0, 0, 0, 5, 10, 0, 0, 10, 0, 0)	1-3	1	1	0	1
Line:	Act		SwitchB6			Taster für EG Bahnhof und Kneipe			PushButton_RGB_0_3(#LED, #InCh, Betriebszeiten0, 1, 1, 0, 0, 0, 0, 0, 5, 0, 10, 0, 0, 10, 0, 10, 0, 10, 10, 0, 10, 10, 0, 0, 10, 0, 0)	1-4	1	1	0	1
Line:	Act		SwitchB7			Kühe auf der Weide			PushButton_RGB_0_2(#LED, #InCh, Kuehe0, 1, 1, 0, 0, 0, 0, 0, 5, 0, 10, 0, 0, 10, 0, 10, 0, 0, 10, 0, 0)	1-5	1	1	0	1
Line:	Act					Logik Kneipe, Bahnhof oder beide			Logic(EG_Gasthof_ein, Betriebszeiten1 OR Betriebszeiten3)			1	0	
Line:	Act					Logik Kneipe, Bahnhof oder beide			Logic(EG_Bahnhof_ein, Betriebszeiten2 OR Betriebszeiten3)			1	0	
Line:	Act					Kerzen dunkler			Set_CandleTab(25, 25, 80, 100, 25, 50, 64, 30, 5)			0	0	
Line:	-													
Line:	Act					Verteiler 1 Kontroll-LED Eingang	1		RGB_Heartbeat_Color(#LED, 60, 255, 170, 700)	0-1	1	0	0	0
Line:	Act					Kleines Haus mit Schuppen	1	1	HouseT(#LED, #InCh, 1, 2, 30, 90, CANDLE, ROOM_COL0, ROOM_TV1)	0-2	3	1	0	0
Line:	Act					Bauernhaus Vollmer hintere Ebene	1	2	HouseT(#LED, #InCh, 1, 3, 30, 90, ROOM_COL0, ROOM_COL0, ROOM_TV1, CANDLE)	0-5	4	1	0	0
Line:	Act		Holzfaeller1			Modul 1 85%	Soundplatine		SOUND_CHANNEL_SET_VOLUME(#LED, #InCh, 85)	S1	S	1	0	1
Line:	Act		Holzfaeller1			Kettensäge und Baum Modul 2 ein	Soundplatine		SOUND_CHANNEL_PLAY_TRACK(#LED, #InCh, 1)	S1	S	1	0	1
Line:	Act		Holzfaeller2			Lagerfeuer und Flens Modul 2 ein	Soundplatine		SOUND_CHANNEL_PLAY_TRACK(#LED, #InCh, 2)	S1	S	1	0	1
Line:	Act		Holzfaeller2			Modul 1 90%	Soundplatine		SOUND_CHANNEL_SET_VOLUME(#LED, #InCh, 95)	S1	S	1	0	1
Line:	Act		LaternenRangierbahnhof1			10 Laternen + 2 LED am Rangierbahnhof 4 Chips	1	4	HouseT(#LED, #InCh, 1, 1, 5, 10, FIRED)	0-9	1	1	0	0
Line:	Act		LaternenMarktplatz1			3 Laternen am Marktplatz 1 Chip	1	4	GasLights(#LED, #InCh, GAS_LIGHT1D, GAS_LIGHT2D, GAS_LIGHT3D)	0-10	1	1	0	0
Line:	Act		LatRingstrasse1			6 Laternen Ringstraße 2 Chips	1	4	GasLights(#LED, #InCh, GAS_LIGHT1D, GAS_LIGHT2D, GAS_LIGHT3D, GAS_LIGHT1D, GAS_LIGHT2D, GAS_LIGHT3D)	0-11	2	1	0	0
Line:	-		EG_Bahnhof_ein			2 Lat und Uhr Bahnhof 1 Chip	1	4	GasLights(#LED, #InCh, NEON_LIGHT1D, NEON_LIGHT2D, NEON_LIGHT3D)		1	1	0	0
Line:	Act					1 unbenutzten Chip reservieren	1	4	// Reserve LEDs(2)	0-13	2	0	0	0
Line:	Act					Vollmer altes Wohn- und Geschäftshaus	1	8	HouseT(#LED, #InCh, 1, 4, 90, 180, ROOM_COL0, ROOM_COL0, ROOM_WARM_W, CANDLE, ROOM_D_RED)	0-15	5	1	0	0
Line:	Act		EG_Bahnhof_ein			Bahnhof Ochsenhausen EG	1	9	HouseT(#LED, #InCh, 1, 2, 120, 240, NEON_LIGHTD, NEON_LIGHTD)	0-20	2	1	0	0
Line:	Act					Bahnhof Ochsenhausen OG	1	9	HouseT(#LED, #InCh, 1, 3, 30, 60, ROOM_D_RED, ROOM_WARM_W, ROOM_COL0)	0-22	3	1	0	0
Line:	Act		EG_Gasthof_ein			Gasthof Post EG	1	10	HouseT(#LED, #InCh, 1, 2, 120, 240, ROOM_COL0, ROOM_COL0)	0-25	2	1	0	0
Line:	Act					Gasthof Post OG DG	1	10	HouseT(#LED, #InCh, 1, 2, 30, 75, ROOM_TV0, ROOM_COL0, CANDLE)	0-27	3	1	0	0
Line:	Act					Verteiler 1 Kontroll-LED Ausgang	1		RGB_Heartbeat_Color(#LED, 80, 255, 0, 700)	0-30	1	0	0	0
Line:	-													
Line:	Act		Kuehe1			Kuehe1 endlos			SOUND_CHANNEL_LOOP_MODE(#LED, #InCh, LOOP_ONE)	S0	S	1	0	0
Line:	Act		Kuehe2			Kuehe1 endlos aus			SOUND_CHANNEL_LOOP_MODE(#LED, #InCh, LOOP_OFF)	S0	S	1	0	0
Line:	-													
Line:	Act					Kerzen zurück auf normal			Set_CandleTab(25, 25, 80, 100, 120, 145, 64, 50, 5)			0	0	
Line:	-													
Line:	Act					Verteiler 2 Kontroll-LED Eingang	2		RGB_Heartbeat_Color(#LED, 60, 255, 170, 700)	2-1	1	0	0	2
Line:	Act					Wartehalle am See	2	1	HouseT(#LED, #InCh, 1, 1, 1, 5, NEON_LIGHTD)	2-2	1	1	0	2
Line:	Act					Bergkapelle	2	2	HouseT(#LED, #InCh, 1, 1, 1, 5, ROOM_COL0)	2-3	1	1	0	2
Line:	Act					Lagerfeuer vor Holzfällerhütte ein	2	3	HouseT(#LED, #InCh, 1, 1, 5, 10, FIRED)	2-4	1	1	0	2
Line:	Act					Kuhstall am See	1	4	HouseT(#LED, #InCh, 1, 1, 1, 5, NEON_LIGHTD)	2-5	1	1	0	2
Line:	Act					Verteiler 2 Kontroll-LED Ausgang	2		RGB_Heartbeat_Color(#LED, 80, 255, 0, 700)	2-6	1	0	0	2
Line:	-													
Line:	Act					Ch 0N Heartbeat Rückmeldung			RGB_Heartbeat_Color(#LED, 5, 120, 205, 1 Sek)	0-31	1	0	0	0
Line:	-					Ch 1N Heartbeat Rückmeldung (deakt. wg.  Pushb.)			RGB_Heartbeat_Color(#LED, 5, 120, 205, 1 Sek)		1	0	0	1
Line:	Act					Ch 2N Heartbeat Rückmeldung			RGB_Heartbeat_Color(#LED, 5, 120, 205, 1 Sek)	2-7	1	0	0	2
Line:	-					Ch 3N Heartbeat Rückmeldung			RGB_Heartbeat_Color(#LED, 5, 120, 205, 1 Sek)		1	0	0	3
Line:	-					Ch 4N Heartbeat Rückmeldung			RGB_Heartbeat_Color(#LED, 5, 120, 205, 1 Sek)		1	0	0	4
Line:	-					Ch 5N Heartbeat Rückmeldung			RGB_Heartbeat_Color(#LED, 5, 120, 205, 1 Sek)		1	0	0	5
Line:	-					Ch 6N Heartbeat Rückmeldung (deaktivieren DMX)			RGB_Heartbeat_Color(#LED, 5, 120, 205, 1 Sek)		1	0	0	6
Line:	-					Ch 7N Heartbeat Rückmeldung			RGB_Heartbeat_Color(#LED, 5, 120, 205, 1 Sek)		1	0	0	7
