Head:	Program_Generator configuration file	V1.0
Sheet:	DCC	DCC
Line:	-					1. RGB-LED auf dem Mainboard 			RGB_Heartbeat(#LED)		1	0	0	0
Line:	-													
Line:	-					Importiert von:C:\Users\Scholz\Documents\Arduino\MobaLedLib\Ver_3.4.0\Import_From_old_Prog.MLL_pgf								
Line:	-													
Line:	-					Brückenmodul Tastenstg, DCC und LDR								
Line:	-													
Line:	-					Tag/Nacht - Steuerung mit LDR-Sensor								
Line:	-													
Line:	-					LDR Steuerung aktivieren			#define READ_LDR			0	0	
Line:	-					LDR Werte lesen mit Serieller Monitor			#define READ_LDR_DEBUG			0	0	
Line:	-					LDR Schwelle für Gaststätte festlegen			Schedule(Lokal1, Lokal1, SI_1, 60, 120)			0	0	
Line:	-					LDR Schwelle für Camping und Mühle festlegen			Schedule(Wag1, Wag1, SI_1, 60, 120)			0	0	
Line:	-					LDR Schwelle für Strassenlampen festlegen			Schedule(Latern1, Latern1, SI_1, 60, 120)			0	0	
Line:	-													
Line:	-					Pushtastensteuerung und DCC Steuerung								
Line:	-													
Line:	-					Mühlrad bewegen mit Sound								
Line:	-													
Line:	-		SwitchB1			Taster1startet Sound und Mühlrad			PushButton_w_LED_BL_0_1(#LED, C1, #InCh, Muehl0, 1, 0, 0, 1, 27.5 Sek, 255, 0)		C1-1	1	0	1
Line:	-		Muehl1			Soundmodul spielt Wasserplätschern	A	1	Sound_JQ6500_Seq1(#LED, #InCh)		C1-1	1	0	0
Line:	-		Muehl1			DC-Motor und Außenstrahler starten	A	2	Const(#LED, C_ALL, #InCh, 0, 255)		1	1	0	0
Line:	-													
Line:	-					Campingplatz und Mühle - Beleuchtungen								
Line:	-													
Line:	-		SwitchB2			Taster 2 schaltet Licht ein (Lagerfeuer, WW, Zelte, EB)			PushButton_w_LED_BL_0_1(#LED, C1, #InCh, Swt0, 1, 0, 0, 1, 60 Sek, 255, 0)		C1-1	1	0	1
Line:	-					Abfragelogik: Taster oder LDR			Logic(Camp1, Swt1 OR Wag1)			1	0	
Line:	-		Camp1			Lagerfeuer flackert (1. WS2811)	A	3-1	Const(#LED, C_ALL, #InCh, 0, 255)		1	1	0	0
Line:	-		Camp1			3 Wohnwagen an 3 LEDs (2. WS2811)	A	3-2	Const(#LED, C_ALL, #InCh, 0, 255)		1	1	0	0
Line:	-		Camp1			2 Zelte + EB an 3 LEDs (3. WS2811)	A	3-3	Const(#LED, C_ALL, #InCh, 0, 255)		1	1	0	0
Line:	-													
Line:	-		260	AnAus		DCC Befehl oder LDR schaltet Licht im Kioskwagen ein/aus			Logic(Kiosk1, #InCh OR Wag1)			1	0	
Line:	-		Kiosk1			Kioskwagen beleuchten 1 LED (4. WS2811)	A	3-4	Const(#LED, C_ALL, #InCh, 0, 255)		1	1	0	0
Line:	-													
Line:	-		250	AnAus		DCC Befehl oder LDR schaltet Licht Mühle ein/aus			Logic(Muehl2, #InCh OR Wag1)			1	0	
Line:	-		Muehl2			Muehle Wohnen 3 LED (5. WS2811)	A	3-5	Const(#LED, C_ALL, #InCh, 0, 255)		1	1	0	0
Line:	-		Muehl2			Muehle Wohnen 2 LED (6. WS2811)	A	3-6	Const(#LED, C_ALL, #InCh, 0, 255)		1	1	0	0
Line:	-		Muehl2			Muehle Werkstatt 2 LED (7. WS2811)	A	3-7	Const(#LED, C_ALL, #InCh, 0, 255)		1	1	0	0
Line:	-													
Line:	-					Pflug bewegen mit Sound								
Line:	-													
Line:	-		SwitchB3			Taster 3 startet Traktor und Sound			PushButton_w_LED_BL_0_1(#LED, C1, #InCh, Pflug0, 1, 0, 0, 1, 22 Sek, 255, 0)		C1-1	1	0	1
Line:	-		Pflug1			Traktorsound ein	A	4	Sound_JQ6500_Seq1(#LED, #InCh)		C1-1	1	0	0
Line:	-		Pflug1			Steppermotor Traktor ein	A	5	ConstRGB(#LED, #InCh, 0, 0, 0, 160, 0, 0)		1	1	0	0
Line:	-													
Line:	-					Sexy Paar und Jäger in Aktion								
Line:	-													
Line:	-		SwitchB4			Taster 4 bewegt Sexy Paar und Jäger			PushButton_w_LED_BL_0_1(#LED, C1, #InCh, Rel0, 1, 0, 0, 1, 20 Sek, 255, 0)		C1-1	1	0	1
Line:	-		Rel1			Externboard schaltet beides ein (2 x Viessmann)	A	6	Const(#LED, C_ALL, #InCh, 0, 255)		1	1	0	0
Line:	-													
Line:	-					Strassenlaternen schalten								
Line:	-													
Line:	-		270	AnAus		DCC Befehl oder LDR schaltet Licht ein/aus			Logic(Latern1, #InCh OR Wag1)			1	0	
Line:	-		Latern1			10 Strassenlaternen (10 LEDs an 1 WS2811)	A	7	Const(#LED, C_ALL, #InCh, 0, 255)		1	1	0	0
Line:	-													
Line:	-					Ausflugsgaststätte Lichtsteuerung mit LDR								
Line:	-													
Line:	-		Lokal1			Gaststätte (10 LED + 2 LED)	A	8	Const(#LED, C_ALL, #InCh, 0, 255)		1	1	0	0
Line:	-		Lokal1			Biergarten (2 x LED-Kette)	A	9	Const(#LED, C_ALL, #InCh, 0, 255)		1	1	0	0
Line:	-													
Line:	-					2. RGB-LED auf dem Mainboard			RGB_Heartbeat(#LED)		1	0	0	0
Line:	-													
Line:	-													
Line:	-					Anlage II - Pushtasten und LDR Funktionen								
Line:	-													
Line:	-					Tastenpult 1 - Mühle, Baum fällen, Lagerfeuer, 3 x frei								
Line:	-													
Line:	Act					LDR aktivieren			#define READ_LDR			0	0	
Line:	Act					LDR Werte auslesen mit DIE			#define READ_LDR_DEBUG			0	0	
Line:	-													
Line:	Act					Lichtvariable festlegen			Schedule(Haus1, Haus2, SI_1, 60, 120)			0	0	
Line:	-													
Line:	Act					1. RGB-LED auf dem Mainboard 			RGB_Heartbeat(#LED)	0-0	1	0	0	0
Line:	-													
Line:	Act		SwitchB1			Taster 1: Mühlrad läuft mit Sound			PushButton_w_LED_BL_0_1(#LED, C1, #InCh, Muehl0, 1, 0, 0, 1, 27 Sek, 255, 0)	1-0	C1-1	1	0	1
Line:	Act		Muehl1			Mühlrad drehen- Motor 12VDC mit Poti	A	1	Const(#LED, C_ALL, #InCh, 0, 255)	0-1	1	1	0	0
Line:	Act		Muehl1			Sound: Bachplätschern läuft	A	2	Sound_JQ6500_Seq1(#LED, #InCh)	0-2	C1-1	1	0	0
Line:	-													
Line:	Act		SwitchB2			Taster 2: Baum fällen (Relais ansteuern)			PushButton_w_LED_BL_0_1(#LED, C1, #InCh, Baum0, 1, 0, 0, 1, 30 Sek, 255, 0)	1-1	C1-1	1	0	1
Line:	Act		Baum1			Relais ansteuern			MonoFlop(Rel1, #InCh, 2 Sek)			1	0	
Line:	Act		Rel1			Relais triggert externen Arduino	A	3	Const(#LED, C_ALL, #InCh, 0, 255)	0-3	1	1	0	0
Line:	-													
Line:	Act		SwitchB3			Taster 3: Lagerfeuer flackert			PushButton_w_LED_BL_0_1(#LED, C1, #InCh, Lafe0, 1, 0, 0, 1, 30 Sek, 255, 0)	1-2	C1-1	1	0	1
Line:	Act		Lafe1			Lagerfeuer ein (Viessmann-Modul) 12 VDC	A	4	Const(#LED, C_ALL, #InCh, 0, 255)	0-4	1	1	0	0
Line:	-													
Line:	Act		SwitchB4			Taster 4: frei zum Test			PushButton_w_LED_BL_0_1(#LED, C1, #InCh, Frei0, 1, 0, 0, 1, 5 Sek, 255, 0)	1-3	C1-1	1	0	1
Line:	-													
Line:	-		SwitchB5			Taster 5: frei			PushButton_w_LED_BL_0_1(#LED, C1, #InCh, Frei1, 1, 0, 0, 1, 5 Sek, 255, 0)		^ C1-1	1	0	1
Line:	-													
Line:	-		SwitchB6			Taster 6: frei			PushButton_w_LED_BL_0_1(#LED, C1, #InCh, Frei2, 1, 0, 0, 1, 5 Sek, 255, 0)		^ C1-1	1	0	1
Line:	-													
Line:	Act		Frei1			keine Aktion	A	5	Const(#LED, C_ALL, #InCh, 0, 255)	0-5	1	1	0	0
Line:	-													
Line:	-					Beleuchtungen steuern								
Line:	-													
Line:	Act		Haus1			Licht Mühlenwärter ein/aus	A	6	Const(#LED, C_ALL, #InCh, 0, 255)	0-6	1	1	0	0
Line:	Act		Haus2			Beleuchtung Sägemühle	A	6	HouseT(#LED, #InCh, 3, 5, 3, 10, ROOM_BRIGHT, ROOM_BRIGHT, NEON_LIGHT, ROOM_TV0, ROOM_WARM_W)	0-7	5	1	0	0
Line:	-													
Line:	Act					2. RGB-LED auf dem Mainboard			RGB_Heartbeat(#LED)	0-12	1	0	0	0
Line:	-													
Line:	-													
