summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--schack.ino4
1 files changed, 4 insertions, 0 deletions
diff --git a/schack.ino b/schack.ino
index 2cc3da2..6ca97c1 100644
--- a/schack.ino
+++ b/schack.ino
@@ -1,6 +1,8 @@
1#include "controller.h" 1#include "controller.h"
2#include "mp3player.h" 2#include "mp3player.h"
3#include "webserver.h"
3 4
5WebServer *webserver;
4MP3Player *mp3Player; 6MP3Player *mp3Player;
5Controller *controller; 7Controller *controller;
6 8
@@ -10,9 +12,11 @@ void setup() {
10 12
11 mp3Player = new MP3Player(); 13 mp3Player = new MP3Player();
12 controller = new Controller(mp3Player); 14 controller = new Controller(mp3Player);
15 webserver = new WebServer(controller);
13} 16}
14 17
15 18
16void loop() { 19void loop() {
17 mp3Player->loop(); 20 mp3Player->loop();
21 webserver->loop();
18} 22}