User Tools

Site Tools


photobox

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
photobox [2016/07/21 09:48]
admin
photobox [2016/07/24 21:09]
admin
Line 13: Line 13:
 int HauptLED = 5; int HauptLED = 5;
 int ZusatzLED = 6; int ZusatzLED = 6;
-int TasterLED = 3+int TasterLED = 3;
 int TRIGGER = 4; int TRIGGER = 4;
-int tast = 2;+int tast = 12;
 long previousMillis = 0;  long previousMillis = 0; 
 long interval = 510000;         //8,5 Minuten long interval = 510000;         //8,5 Minuten
Line 34: Line 34:
   digitalWrite(TRIGGER, HIGH);   digitalWrite(TRIGGER, HIGH);
   digitalWrite(TasterLED, HIGH);   digitalWrite(TasterLED, HIGH);
-  analogWrite(HauptLED, 128); +  analogWrite(HauptLED, 191); 
-  analogWrite(ZusatzLED, 255);+  analogWrite(ZusatzLED, 191);
   unsigned long currentMillis = millis();   unsigned long currentMillis = millis();
   // Wenn Taster gedrückt (LOW), dann Zyklus abarbeiten   // Wenn Taster gedrückt (LOW), dann Zyklus abarbeiten
Line 59: Line 59:
 } }
 </code> </code>
 +
 +LED Taster= Pin 3
 +Trigger für externes Event = Pin 4 (gerade nicht verwendet, kann Lichteffekt oder sonstiges anschalten)
 +Beleuchtung 1 = Pin 5
 +Beleuchtung 2 = Pin 6
 +Infrarot Auslöser = Pin 7
 +Taster Eingang = Pin 12
  
  
photobox.txt · Last modified: 2016/07/24 21:18 by admin