|
|
Typical Usage:
(Examples of a typical usage of the component in user code.
For more information please
see the page Component Code
Typical Usage.)
Assume the component name "TERM1".
This component can be used in many cases. Following example is one of them.
MAIN.C
void main(void)
{
TERM1_SendStr("HELLO WORLD!!!"); /* Display a message */
while(!TERM1_KeyPressed()) {} /* Wait for any char */
TERM1_CRLF; /* Move cursor to new line */
TERM1_SendStr("TERMINAL DEMO"); /* Display a message */
}
|