mirror of
https://github.com/sweidac/kidsbox.git
synced 2025-07-27 19:31:54 +02:00
26 lines
378 B
C++
26 lines
378 B
C++
#include "Arduino.h"
|
|
|
|
#include <WiFi.h>
|
|
|
|
#include "Networking.hpp"
|
|
#include "WebInterface.hpp"
|
|
#include "RFIDInterface.hpp"
|
|
|
|
extern "C" {
|
|
void app_main();
|
|
}
|
|
|
|
Networking networking;
|
|
WebInterface webInterface;
|
|
RFIDInterface rfid;
|
|
|
|
void app_main(void) {
|
|
initArduino();
|
|
|
|
Serial.begin(115200);
|
|
|
|
networking.connectWifi();
|
|
webInterface.start();
|
|
rfid.start();
|
|
}
|