Updated HeatpumpIR, to a version which uses the native Arduino IDE 1.6 PROGMEM definitions

This commit is contained in:
ToniA
2015-10-01 10:39:59 +03:00
parent 1b120d7520
commit c4f706fd3e
27 changed files with 212 additions and 212 deletions
+1 -2
View File
@@ -7,7 +7,6 @@
#ifndef HeatpumpIR_h
#define HeatpumpIR_h
#define __PROG_TYPES_COMPAT__
#include <Arduino.h>
#include <IRSender.h>
@@ -61,7 +60,7 @@ class HeatpumpIR
const char * _info;
public:
virtual void send(IRSender& IR, byte powerModeCmd, byte operatingModeCmd, byte fanSpeedCmd, byte temperatureCmd, byte swingVCmd, byte swingHCmd);
virtual void send(IRSender& IR, uint8_t powerModeCmd, uint8_t operatingModeCmd, uint8_t fanSpeedCmd, uint8_t temperatureCmd, uint8_t swingVCmd, uint8_t swingHCmd);
const char PROGMEM* model();
const char PROGMEM* info();
};