This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <DallasTemperature.h> | |
#include <OneWire.h> | |
#include <JeeLib.h> | |
#include <Ports.h> | |
#include <PortsBMP085.h> | |
#include <PortsLCD.h> | |
#include <PortsSHT11.h> | |
#include <RF12.h> | |
#include <RF12sio.h> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <Wire.h> | |
long pumpLatency = 5000; | |
long pump2Delay = 60000; // Time (in millis) to delay pump2 activation | |
long sw1Delay = 180000; // Time after which to enable pumps even if sw2 is not active | |
// Don't want water to rest there unnecessarily | |
// Pin 13 has an LED connected on most Arduino boards. | |
// give it a name: | |
int R0 = 4; |
NewerOlder