SW500009 Microchip Technology, SW500009 Datasheet - Page 209

HI-TECH FOR DSPIC/PIC24

SW500009

Manufacturer Part Number
SW500009
Description
HI-TECH FOR DSPIC/PIC24
Manufacturer
Microchip Technology
Type
Compilerr
Series
PIC24 & DsPICr
Datasheet

Specifications of SW500009

Supported Families
PIC24
Core Architecture
PIC, DsPIC
Software Edition
Standard
Kit Contents
Software And Docs
Tool Type
Compiler
Mcu Supported Families
PIC24 MCUs And DsPIC DSCs
Lead Free Status / RoHS Status
Not applicable / RoHS Compliant
For Use With/related Products
DSPIC3X/PIC24
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
Other names
025
778-1003
778-1003
Library Functions
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()
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;
195

Related parts for SW500009