forked from Krautspace/doorstatus
Add initial (untested) version of Arduino sketch
This commit is contained in:
parent
ec3a5daf2b
commit
d5e31ca789
2 changed files with 98 additions and 0 deletions
11
source/arduino/config.h
Normal file
11
source/arduino/config.h
Normal file
|
@ -0,0 +1,11 @@
|
|||
// SSID and password of the WiFi network to which we broadcast the door lock's
|
||||
// status.
|
||||
char SSID[] = "";
|
||||
char PASSWORD[] = "";
|
||||
|
||||
|
||||
// Port on which to listen for status requests
|
||||
unsigned int PORT = 12345;
|
||||
|
||||
// Pin to which the reed switch is connected
|
||||
uint8_t REED_PIN = 0;
|
Loading…
Add table
Add a link
Reference in a new issue