fix
This commit is contained in:
parent
402c4b36a9
commit
405722c23d
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue