Compare commits

...

3 Commits

2 changed files with 4 additions and 1 deletions

View File

@ -145,6 +145,8 @@ void Treppe::setup(){
pinMode(SENSOR1, INPUT); pinMode(SENSOR1, INPUT);
pinMode(SENSOR2, INPUT); pinMode(SENSOR2, INPUT);
pinMode(OE, OUTPUT);
digitalWrite(OE, 0);
Serial.println("Hello from Treppe"); Serial.println("Hello from Treppe");
Serial.print("Treppe: initial parameters: stairs="); Serial.print("Treppe: initial parameters: stairs=");
Serial.println(stairs); Serial.println(stairs);

View File

@ -4,6 +4,7 @@
#define SENSOR1 15 #define SENSOR1 15
#define SENSOR2 12 #define SENSOR2 12
#define OE 14
#define INT_TIME 20 // interrupt intervall [ms] #define INT_TIME 20 // interrupt intervall [ms]