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