Notes.md, Readme.md und 2 weitere dateien aktualisiert...
This commit is contained in:
parent
c6ad3f2259
commit
1bcbd3b8e3
8
Notes.md
8
Notes.md
@ -39,3 +39,11 @@
|
||||
### 20.03.2022
|
||||
+ settings API implemented and tested
|
||||
+ TODO: factory reset
|
||||
|
||||
### 10.04.2022
|
||||
+ Toni:
|
||||
+ Reed Contact -> Door closed?
|
||||
+ Tracking in->out
|
||||
+ Stats
|
||||
+ Sensors
|
||||
|
@ -5,8 +5,8 @@ Adress 0x21
|
||||
### 1.1 Wiring
|
||||
* Red: 3.3V
|
||||
* Black GND
|
||||
* Green SDA -> D3
|
||||
* Grey SCL -> D4
|
||||
* Green SDA -> D2
|
||||
* Grey SCL -> D1
|
||||
|
||||
## 2.0 LCD
|
||||
The LCD display is driven on the same i2c bus as the keypad.
|
||||
|
@ -1,8 +1,6 @@
|
||||
#include "Keyboard.h"
|
||||
|
||||
//#define DEBUG
|
||||
#define PIN_WIRE_SDA D3
|
||||
#define PIN_WIRE_SCL D4
|
||||
|
||||
Keyboard::Keyboard(uint8_t _debounce)
|
||||
{
|
||||
this->keybind.insert({
|
||||
@ -23,7 +21,7 @@ Keyboard::Keyboard(uint8_t _debounce)
|
||||
}
|
||||
void Keyboard::begin(TwoWire *databus)
|
||||
{
|
||||
pcf8574 = new PCF8574(databus, 0x21, PIN_WIRE_SDA, PIN_WIRE_SCL);
|
||||
pcf8574 = new PCF8574(databus, 0x21);
|
||||
pcf8574->pinMode(0, OUTPUT);
|
||||
for (int i = 1; i < 8; i++)
|
||||
{
|
||||
|
@ -17,9 +17,9 @@ webconsole::WebConsole web;
|
||||
// Rfid
|
||||
Rfid rfid;
|
||||
// i2C Bus
|
||||
#define PIN_WIRE_SDA D3
|
||||
#define PIN_WIRE_SCL D4
|
||||
Relais relay(D1);
|
||||
#define PIN_WIRE_SDA D1
|
||||
#define PIN_WIRE_SCL D2
|
||||
Relais relay(D4);
|
||||
Keyboard keyboard(200);
|
||||
Interface iface;
|
||||
void setup()
|
||||
|
Loading…
x
Reference in New Issue
Block a user