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

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
touchpad_hit( )
Syntax:
Parameters:
Returns:
Function:
Availability:
Requires:
Examples:
Example Files:
Also See:
300
value = TOUCHPAD_HIT( ). if( TOUCHPAD_HIT( ) )
None
TRUE or FALSE
Returns TRUE if a Capacitive Sensing Module (CSM) key has been pressed. If
TRUE, then a call to touchpad_getc() will not cause the program to wait for a key
press.
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){
pressed
}
None
#USE TOUCHPAD (
char c;
enable_interrupts(GLOBAL);
while (TRUE) {
if ( TOUCHPAD_HIT() )
}
c = TOUCHPAD_GETC();
),
touchpad_state(
),
touchpad_getc( )
//wait until key on PIN_B0 is
//get key that was pressed
//c will get value 'A'

Related parts for PCWHD IDE COMPILER