PCDIDE COMPILER Custom Computer Services Inc (CCS), PCDIDE COMPILER Datasheet - Page 313

PCD C-COMPILER PIC24, DSPIC

PCDIDE COMPILER

Manufacturer Part Number
PCDIDE COMPILER
Description
PCD C-COMPILER PIC24, DSPIC
Manufacturer
Custom Computer Services Inc (CCS)
Type
Compilerr
Datasheet

Specifications of PCDIDE COMPILER

For Use With/related Products
Microchip PIC24/dsPIC®
Lead Free Status / RoHS Status
Not applicable / Not applicable
Other names
429-1008
Examples:
Example Files:
Also See:
touchpad_getc( )
Syntax:
Parameters:
Returns:
Function:
Availability:
Requires:
Examples:
Example Files:
Also See:
switch( toupper(getc()) ) {
}
ex_str.c
None
input = TOUCHPAD_GETC( );
None
char (returns corresponding ASCII number is “input” declared as int)
Actively waits for firmware to signal that a pre-declared Capacitive Sensing Module
(CSM) pin is active, then stores the pre-declared character value of that pin in “input”.
Note: Until a CSM pin is read by firmware as active, this instruction will cause the
microcontroller to stall.
All PIC's with a CSM Module
#USE TOUCHPAD (options)
// When the pad connected to PIN_B0 is activated, store the letter
'A'
#USE TOUCHPAD (PIN_B0='A')
void main(void){
pins is detected
value 'A'
}
None
#USE
case 'R' : read_cmd();
case 'W' : write_cmd(); break;
case 'Q' : done=TRUE;
char c;
enable_interrupts(GLOBAL);
c = TOUCHPAD_GETC();
TOUCHPAD,
touchpad_state( )
break;
break;
//will wait until one of declared
//if PIN_B0 is pressed, c will get
299

Related parts for PCDIDE COMPILER