final
This commit is contained in:
@@ -28,8 +28,8 @@ constexpr int buzzerPin = 2;
|
||||
constexpr int ledPin = 4;
|
||||
|
||||
// Wi-Fi credentials
|
||||
constexpr auto ssid = "ElaZereVsetko2g";
|
||||
constexpr auto password = "CoJeElaToJeEla";
|
||||
constexpr auto ssid = "BastArt";
|
||||
constexpr auto password = "3 litry Kvasaru!";
|
||||
|
||||
// API config
|
||||
constexpr auto apiHost = "https://kalskeborec.cz";
|
||||
|
||||
@@ -12,7 +12,6 @@
|
||||
#include "config.h"
|
||||
|
||||
|
||||
|
||||
// Create an instance of the MFRC522 driver
|
||||
MFRC522DriverPinSimple ss_pin(5); // Create digital pin driver
|
||||
MFRC522DriverSPI driver{ss_pin}; // Create SPI driver
|
||||
@@ -27,6 +26,7 @@ NTPClient timeClient(ntpUDP, "pool.ntp.org", 3600, 60000);
|
||||
unsigned long lastCheck = 0;
|
||||
|
||||
void setup() {
|
||||
|
||||
// Initialize the serial port for debugging
|
||||
if (DEBUG) {
|
||||
Serial.begin(115200);
|
||||
|
||||
Reference in New Issue
Block a user