Fixed some issues with oregon protocoll and first version of HalMultiSensor done.

This commit is contained in:
Ziver Koc 2016-05-31 21:11:53 +02:00
parent 4f6066fe7a
commit 92fb46ea0f
14 changed files with 333 additions and 536 deletions

View file

@ -1,9 +1,14 @@
#include "SensorPhotocell.h"
#include <Arduino.h>
unsigned int SensorPhotocell::pulse = 0;
void SensorPhotocell::interruptHandler()
{
digitalWrite(INDICATOR_PIN, HIGH);
DEBUG("PHCELL: INTERRUPT");
++pulse;
digitalWrite(INDICATOR_PIN, LOW);
}