fix
This commit is contained in:
parent
c4fef61fab
commit
33d1f3a091
|
@ -14,7 +14,6 @@
|
|||
#pragma once
|
||||
#include "esphome/core/component.h"
|
||||
#include "esphome/core/preferences.h"
|
||||
#include <Arduino.h>
|
||||
|
||||
|
||||
#include "SoftwareSerial.h"
|
||||
|
@ -22,6 +21,19 @@ extern "C" {
|
|||
#include "secplus.h"
|
||||
}
|
||||
|
||||
static const uint8_t D0 = 16;
|
||||
static const uint8_t D1 = 5;
|
||||
static const uint8_t D2 = 4;
|
||||
static const uint8_t D3 = 0;
|
||||
static const uint8_t D4 = 2;
|
||||
static const uint8_t D5 = 14;
|
||||
static const uint8_t D6 = 12;
|
||||
static const uint8_t D7 = 13;
|
||||
static const uint8_t D8 = 15;
|
||||
static const uint8_t D9 = 3;
|
||||
static const uint8_t D10 = 1;
|
||||
|
||||
|
||||
#define CODE_LENGTH 19 // the length of each command sent to the door.
|
||||
/********************************** PIN DEFINITIONS
|
||||
* *****************************************/
|
||||
|
|
Loading…
Reference in New Issue