blob: 6f73aac7214e06d2425df47c9328a57443ac5ba9 (
plain)
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
|
// SPDX-License-Identifier: Apache-2.0
#ifndef _HVAC_LED_HELPER_HPP
#define _HVAC_LED_HELPER_HPP
#include <cstdint>
#include <string>
#include <iostream>
#include <fstream>
class HvacLedHelper
{
public:
HvacLedHelper();
void set_left_temperature(uint8_t temp);
void set_right_temperature(uint8_t temp);
private:
void read_config();
void led_update();
std::string m_led_path_red;
std::string m_led_path_green;
std::string m_led_path_blue;
unsigned m_verbose;
bool m_config_valid;
uint8_t m_temp_left;
uint8_t m_temp_right;
};
#endif // _HVAC_LED_HELPER_HPP
|