mirror of
https://github.com/sweidac/kidsbox.git
synced 2025-07-28 03:41:54 +02:00
Adds rfid example code.
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
|
||||
#include "Networking.hpp"
|
||||
#include "WebInterface.hpp"
|
||||
#include "RFIDInterface.hpp"
|
||||
|
||||
extern "C" {
|
||||
void app_main();
|
||||
@@ -11,6 +12,7 @@ extern "C" {
|
||||
|
||||
Networking networking;
|
||||
WebInterface webInterface;
|
||||
RFIDInterface rfid;
|
||||
|
||||
void app_main(void) {
|
||||
initArduino();
|
||||
@@ -18,6 +20,6 @@ void app_main(void) {
|
||||
Serial.begin(115200);
|
||||
|
||||
networking.connectWifi();
|
||||
|
||||
webInterface.start();
|
||||
rfid.start();
|
||||
}
|
||||
|
Reference in New Issue
Block a user