blob: 2cc3da256dd6b9267c2ae45ce09959ae8eaff57a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#include "controller.h"
#include "mp3player.h"
MP3Player *mp3Player;
Controller *controller;
void setup() {
Serial.begin(9600);
SD.begin(SS);
mp3Player = new MP3Player();
controller = new Controller(mp3Player);
}
void loop() {
mp3Player->loop();
}
|