-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPanavoxAC.h
More file actions
40 lines (32 loc) · 715 Bytes
/
Copy pathPanavoxAC.h
File metadata and controls
40 lines (32 loc) · 715 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
#ifndef PANAVOX_AC_H
#define PANAVOX_AC_H
#include "IRLibPanavox.h"
#define PANAVOX_AC_TEMP_MIN 17
#define PANAVOX_AC_TEMP_MAX 30
#include "ACmode.h"
class PanavoxAC
{
private:
ACMode _mode;
uint8_t _temperature;
uint8_t _fanSpeed;
IRsendPanavox _irSender;
public:
PanavoxAC();
~PanavoxAC();
void sendState(void);
// Getters/Setterss
void setMode(ACMode mode);
ACMode getMode(void);
void setTemperature(uint8_t temp);
uint8_t getTemperature(void);
void setFanSpeed(uint8_t level);
uint8_t getFanSpeed(void);
// Extra commands
void sendMoveFlap(void);
void sendSwapLight(void);
void sendSuperMode(void);
void sendAutoClean(void);
void sendFlapOscillation(void);
};
#endif // PANAVOX_AC_H