migrate IRRemote to RMT
This commit is contained in:
parent
5fd8bdf73c
commit
d0e4825c2d
8 changed files with 77 additions and 17 deletions
|
@ -1,12 +1,14 @@
|
|||
#pragma once
|
||||
#include <ExpansionCard.hpp>
|
||||
#include <IRremote.h>
|
||||
#include <driver/rmt.h>
|
||||
#include <FRAM.h>
|
||||
#include <OneWire.h>
|
||||
#include <DS18B20.h>
|
||||
#include <dhtnew.h>
|
||||
#include <vector>
|
||||
|
||||
#define RMT_TX_CHANNEL RMT_CHANNEL_0
|
||||
|
||||
#define CARD_TYPE_CLIMATE 0x03
|
||||
|
||||
#define AC_SENSOR_TYPE_NONE 0x00
|
||||
|
@ -68,7 +70,6 @@ class ClimateCard : public ExpansionCard {
|
|||
void updateSensor();
|
||||
void updateAirConditioner();
|
||||
// IR variables
|
||||
IRsend irsender;
|
||||
uint8_t ir_pin;
|
||||
// Air conditioner variables
|
||||
AirConditioner ac;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue