SW500010 Microchip Technology, SW500010 Datasheet - Page 232

HI-TECH C PRO FOR PIC10/12/16

SW500010

Manufacturer Part Number
SW500010
Description
HI-TECH C PRO FOR PIC10/12/16
Manufacturer
Microchip Technology
Type
Compilerr
Series
PIC10/12/16r
Datasheets

Specifications of SW500010

Supported Families
PIC10, PIC12, PIC16
Core Architecture
PIC
Software Edition
Professional
Kit Contents
Software And Docs
Mcu Supported Families
PIC10/12/16
Tool Type
Compiler
Lead Free Status / RoHS Status
Not applicable / Not applicable
For Use With/related Products
PIC10, PIC12, PIC14, PIC16, PIC16E
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
Other names
019P
778-1006
778-1006
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()
232
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 SW500010