half comment done
This commit is contained in:
parent
d62ffa3606
commit
039e65e6df
12 changed files with 736 additions and 38 deletions
|
@ -3,6 +3,7 @@
|
|||
#include <AnalogCard.hpp>
|
||||
#include <map>
|
||||
|
||||
// MQTT Topics
|
||||
#define DAC_SET_STATE_TOPIC "/set/state"
|
||||
#define DAC_SET_VALUE_TOPIC "/set/value"
|
||||
#define DAC_STATE_TOPIC "/dac/00/state"
|
||||
|
@ -39,7 +40,9 @@ class AnalogIoT : public IoTComponent {
|
|||
void loop();
|
||||
uint8_t getType();
|
||||
private:
|
||||
// The index of the next callback to be registered
|
||||
uint8_t adc_conversion_callback_index = 0;
|
||||
// We keep track of the length of the topics so we don't have to calculate it every time
|
||||
uint8_t dac_set_state_length;
|
||||
uint8_t dac_set_value_length;
|
||||
uint8_t dac_state_length;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue