This commit is contained in:
J. Nick Koston 2023-06-05 13:33:28 -05:00
parent 402c4b36a9
commit 405722c23d
No known key found for this signature in database
1 changed files with 1 additions and 7 deletions

View File

@ -20,9 +20,6 @@ extern "C" {
} }
#define CODE_LENGTH 19 // the length of each command sent to the door. #define CODE_LENGTH 19 // the length of each command sent to the door.
extern byte rollingCode[CODE_LENGTH];
extern unsigned int rollingCodeCounter;
/********************************** PIN DEFINITIONS /********************************** PIN DEFINITIONS
* *****************************************/ * *****************************************/
#define OUTPUT_GDO \ #define OUTPUT_GDO \
@ -41,13 +38,10 @@ extern unsigned int rollingCodeCounter;
#define INPUT_RPM2 \ #define INPUT_RPM2 \
D2 // RPM2 rotary encoder input OR not used if using reed switch D2 // RPM2 rotary encoder input OR not used if using reed switch
#define INPUT_OBST D7 // black obstruction sensor terminal #define INPUT_OBST D7 // black obstruction sensor terminal
namespace esphome { namespace esphome {
namespace ratgdo { namespace ratgdo {
//class RATGDOComponent; // this component
class RATGDOComponent : public Component { class RATGDOComponent : public Component {
public: public:
void setup() override; void setup() override;