forked from Krautspace/doorstatus
Implement and document Arduino software
This commit is contained in:
parent
28de70e732
commit
001c7cd568
17 changed files with 648 additions and 70 deletions
|
@ -19,14 +19,15 @@ You should have received a copy of the GNU Affero General Public License along
|
|||
with the Clean CommonMark library. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
// SSID and password of the WiFi network to which we broadcast the door lock's
|
||||
// status.
|
||||
char SSID[] = "";
|
||||
char PASSWORD[] = "";
|
||||
|
||||
const char SSID[] = "";
|
||||
const char PASSWORD[] = "";
|
||||
|
||||
// Port on which to listen for status requests
|
||||
unsigned int PORT = 12345;
|
||||
const unsigned int SERVER_PORT = 12345;
|
||||
|
||||
// Pin to which the reed switch is connected
|
||||
uint8_t REED_PIN = 0;
|
||||
const uint8_t SENSOR_PIN = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue