FTP-Server for managing the contents of the sd card.
This commit is contained in:
@ -13,11 +13,13 @@
|
||||
#include <MFRC522Debug.h>
|
||||
#include <Arduino.h>
|
||||
#include <Wire.h>
|
||||
#include <FTPServer.h>
|
||||
|
||||
Controller controller;
|
||||
Audio audio;
|
||||
PlaylistManager* pm;
|
||||
MFRC522* rfid;
|
||||
FTPServer ftp(SD);
|
||||
|
||||
void setup() {
|
||||
pinMode(PIN_CS_SD, OUTPUT); digitalWrite(PIN_CS_SD, HIGH);
|
||||
@ -92,13 +94,15 @@ void setup() {
|
||||
Serial.println("Setup finished.");
|
||||
|
||||
audio.setVolume(12);
|
||||
audio.connecttospeech("Die Papabox ist nun einsatzbereit!", "de_DE");
|
||||
|
||||
ftp.begin("", "");
|
||||
}
|
||||
|
||||
void loop() {
|
||||
ArduinoOTA.handle();
|
||||
controller.handle();
|
||||
audio.loop();
|
||||
ftp.handleFTP();
|
||||
}
|
||||
|
||||
void audio_info(const char *info){
|
||||
|
Reference in New Issue
Block a user