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

PCWHD PIC10,16,18,24, DSPIC

PCWHD IDE COMPILER

Manufacturer Part Number
PCWHD IDE COMPILER
Description
PCWHD PIC10,16,18,24, DSPIC
Manufacturer
Custom Computer Services Inc (CCS)
Type
Compilerr
Datasheet

Specifications of PCWHD IDE COMPILER

For Use With/related Products
Microchip PIC10, PIC12, PIC16, PIC18, PIC24, dsPIC MCUs
Lead Free Status / RoHS Status
Not applicable / Not applicable
Other names
429-1009
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 PCWHD IDE COMPILER