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

Rename Terminal library to Shell library

This commit is contained in:
Rhys Weatherley 2016-03-13 07:24:22 +10:00
parent 4c51be9ae8
commit f5dc64aa7c
16 changed files with 8 additions and 8 deletions

View File

@ -666,7 +666,7 @@ INPUT = ../libraries/LCD \
../libraries/Crypto \ ../libraries/Crypto \
../libraries/RingOscillatorNoiseSource \ ../libraries/RingOscillatorNoiseSource \
../libraries/TransistorNoiseSource \ ../libraries/TransistorNoiseSource \
../libraries/Terminal \ ../libraries/Shell \
. .
# This tag can be used to specify the character encoding of the source files # This tag can be used to specify the character encoding of the source files

View File

@ -103,7 +103,7 @@ realtime clock and the LCD library to implement an alarm clock.
More information can be found on the \ref crypto "Cryptographic Library" page. More information can be found on the \ref crypto "Cryptographic Library" page.
\section main_Terminal Terminal Library \section main_Shell Shell Library
\li Terminal class that extends Stream with functions suitable for \li Terminal class that extends Stream with functions suitable for
interfacing to a VT100-compatible terminal program like PuTTY. interfacing to a VT100-compatible terminal program like PuTTY.

View File

@ -32,14 +32,14 @@ the status LED on D13 on and off.
We start by including the shell library definitions and declaring a We start by including the shell library definitions and declaring a
variable of type Shell: variable of type Shell:
\dontinclude Terminal/examples/SerialShell/SerialShell.ino \dontinclude Shell/examples/SerialShell/SerialShell.ino
\skip #include \skip #include
\until Shell shell; \until Shell shell;
Next we need to initialize the serial port and tell the shell object Next we need to initialize the serial port and tell the shell object
to use it for communications: to use it for communications:
\dontinclude Terminal/examples/SerialShell/SerialShell.ino \dontinclude Shell/examples/SerialShell/SerialShell.ino
\skip void setup() \skip void setup()
\until } \until }
@ -59,7 +59,7 @@ handle commands. We accomplish this by calling
\link Shell::loop() shell.loop()\endlink from the application's main \link Shell::loop() shell.loop()\endlink from the application's main
loop() function: loop() function:
\dontinclude Terminal/examples/SerialShell/SerialShell.ino \dontinclude Shell/examples/SerialShell/SerialShell.ino
\skip void loop() \skip void loop()
\until } \until }
@ -67,7 +67,7 @@ At this point the application will have two builtin commands, "help" and
"exit". But we also want a command of our own. We do this by declaring a "exit". But we also want a command of our own. We do this by declaring a
command handler: command handler:
\dontinclude Terminal/examples/SerialShell/SerialShell.ino \dontinclude Shell/examples/SerialShell/SerialShell.ino
\skip int ledPin \skip int ledPin
\until ShellCommand \until ShellCommand
@ -76,5 +76,5 @@ help string, and the name of the handler function.
The full source code for the example follows: The full source code for the example follows:
\include Terminal/examples/SerialShell/SerialShell.ino \include Shell/examples/SerialShell/SerialShell.ino
*/ */

View File

@ -35,5 +35,5 @@ over the Internet via the telnet protocol. The example has one command
The full source code for the example follows: The full source code for the example follows:
\include Terminal/examples/TelnetServer/TelnetServer.ino \include Shell/examples/TelnetServer/TelnetServer.ino
*/ */