SW500008 Microchip Technology, SW500008 Datasheet - Page 220

PICC-18 STD

SW500008

Manufacturer Part Number
SW500008
Description
PICC-18 STD
Manufacturer
Microchip Technology
Type
Compilerr
Series
PIC18r
Datasheets

Specifications of SW500008

Supported Families
PIC18
Core Architecture
PIC
Software Edition
Standard
Kit Contents
Software And Docs
Mcu Supported Families
PIC18
Tool Function
Compiler
Tool Type
Compiler
Lead Free Status / RoHS Status
Not applicable / RoHS Compliant
For Use With/related Products
PIC18 Series
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
Other names
015
778-1001
778-1001
GETCH, GETCHE
Synopsis
Description
The getch() function reads a single character from the console keyboard and returns it without echo-
ing. The getche() function is similar but does echo the character typed.
By default, the library contains a version of getch() that will interface to the Lucifer Debugger. The
user should supply an appropriate routine if another source is desired, e.g. a serial port.
routines. Other modules may also be supplied, e.g. ser180.c has routines for the serial port in a
Z180.
Example
See Also
cgets(), cputs(), ungetch()
206
In an embedded system, the source of characters is defined by the particular routines supplied.
The module getch.c in the SOURCES directory contains model versions of all the console I/O
#include <conio.h>
char getch (void)
char getche (void)
#include <conio.h>
void
main (void)
{
}
char c;
while((c = getche()) != ’\n’)
continue;
Library Functions

Related parts for SW500008