1
0
mirror of https://github.com/taigrr/arduinolibs synced 2025-01-18 04:33:12 -08:00

High-level documentation for the shell library

This commit is contained in:
Rhys Weatherley
2016-03-13 07:20:03 +10:00
parent 9ec197abdb
commit 4c51be9ae8
5 changed files with 139 additions and 2 deletions

View File

@@ -6,10 +6,10 @@ This example is placed into the public domain.
#include <Shell.h>
int ledPin = 13;
Shell shell;
int ledPin = 13;
void cmdLed(Shell &shell, int argc, const ShellArguments &argv)
{
if (argc > 1 && !strcmp(argv[1], "on"))

View File

@@ -0,0 +1,4 @@
Shell KEYWORD1
LoginShell KEYWORD1
Terminal KEYWORD1
loop KEYWORD2