Add initial (untested) version of Arduino sketch

This commit is contained in:
Philipp Matthias Schaefer 2020-11-18 22:45:14 +01:00
parent ec3a5daf2b
commit d5e31ca789
2 changed files with 98 additions and 0 deletions

11
source/arduino/config.h Normal file
View 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;