Updated HeatpumpIR, to a version which uses the native Arduino IDE 1.6 PROGMEM definitions
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
#include <Arduino.h>
|
||||
#include <MideaHeatpumpIR.h> // https://github.com/ToniA/arduino-heatpumpir
|
||||
#include <Button.h> // http://playground.arduino.cc/Code/Button
|
||||
|
||||
@@ -34,8 +35,8 @@ const byte heatpumpOff = 0;
|
||||
const byte heatpumpNormal = 1;
|
||||
const byte heatpumpMaintenance = 2;
|
||||
|
||||
Button relay1 = Button(11,PULLUP); // Heatpump ON-OFF state
|
||||
Button relay2 = Button(12,PULLUP); // FP mode (maintenance heating at 8 degrees C) ON-OFF state
|
||||
Button relay1 = Button(11, INPUT_PULLUP); // Heatpump ON-OFF state
|
||||
Button relay2 = Button(12, INPUT_PULLUP); // FP mode (maintenance heating at 8 degrees C) ON-OFF state
|
||||
|
||||
IRSender irSender(9); // IR led on Duemilanove digital pin 9
|
||||
|
||||
|
||||
Reference in New Issue
Block a user