Basic terminal interface for Arduino SD card logging/file management. Allows basic file management of an SD card with an Arduino through serial commands.
For more information on a specific command, type help command-name
cp - Copy a file to another location
echo - Turn on or off echoing user commands
help - Provide info on commands. Can specify a specific command for help
ls - List the contents of the card. Can specify a specific dir for listing
mkdir - Make a new directory at a specific location
mv - Move or rename a file
print - Print the contents of the given file
rm - Remove a file or dir
The returned message ? signifies the last command was invalid
#include "SdTerminal.h"
Terminal myTerminal;
void setup()
{
Serial.begin(115200);
while (!myTerminal.begin());
}
void loop()
{
myTerminal.handleCmds();
}