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 revisionPrevious revision
Next revision
Previous revision
photobox [2016/07/21 07:48] adminphotobox [2016/07/24 19:18] (current) 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 60: Line 60:
 </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 19:18 by admin

Except where otherwise noted, content on this wiki is licensed under the following license: CC0 1.0 Universal
CC0 1.0 Universal Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki