This commit is contained in:
J. Nick Koston 2023-06-05 20:37:27 -05:00
parent 56ff308503
commit 5aef07d611
No known key found for this signature in database
2 changed files with 7 additions and 0 deletions

View File

@ -147,6 +147,12 @@ namespace ratgdo {
// ESP_LOGD(TAG, "Door State: %s", this->doorState.c_str());
}
void RATGDOComponent::dump_config() {
ESP_LOGCONFIG(TAG, "Setting up RATGDO...");
sync();
}
void RATGDOComponent::readRollingCode(uint8_t& door, uint8_t& light, uint8_t& lock, uint8_t& motion, uint8_t& obstruction)
{
uint32_t rolling = 0;

View File

@ -57,6 +57,7 @@ namespace ratgdo {
public:
void setup() override;
void loop() override;
void dump_config() override;
/********************************** GLOBAL VARS
* *****************************************/
unsigned int rollingCodeCounter;