This commit is contained in:
J. Nick Koston 2023-06-05 20:29:45 -05:00
parent 10a2c62af4
commit 6d7c395f0e
No known key found for this signature in database
2 changed files with 0 additions and 3 deletions

View File

@ -127,8 +127,6 @@ namespace ratgdo {
this->check_uart_settings(9600, 1, esphome::uart::UART_CONFIG_PARITY_NONE, 8);
//this->swSerial.begin(9600, SWSERIAL_8N1, this->input_gdo_pin_->get_pin(), this->output_gdo_pin_->get_pin(), true);
this->trigger_open_pin_->attach_interrupt(RATGDOStore::isrDoorOpen, &this->store_, gpio::INTERRUPT_ANY_EDGE);
this->trigger_close_pin_->attach_interrupt(RATGDOStore::isrDoorClose, &this->store_, gpio::INTERRUPT_ANY_EDGE);
this->trigger_light_pin_->attach_interrupt(RATGDOStore::isrLight, &this->store_, gpio::INTERRUPT_ANY_EDGE);

View File

@ -60,7 +60,6 @@ namespace ratgdo {
/********************************** GLOBAL VARS
* *****************************************/
unsigned int rollingCodeCounter;
EspSoftwareSerial::UART swSerial;
uint8_t txRollingCode[CODE_LENGTH];
uint8_t rxRollingCode[CODE_LENGTH];
String doorStates[6] = { "unknown", "open", "closed", "stopped", "opening", "closing" };