PCDIDE COMPILER Custom Computer Services Inc (CCS), PCDIDE COMPILER Datasheet - Page 165
PCDIDE COMPILER
Manufacturer Part Number
PCDIDE COMPILER
Description
PCD C-COMPILER PIC24, DSPIC
Manufacturer
Custom Computer Services Inc (CCS)
Type
Compilerr
Datasheet
1.PCD_COMMAND_LINE_COMPILER.pdf
(373 pages)
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
- Current page: 165 of 373
- Download datasheet (4Mb)
Purpose:
Examples:
Example Files:
Also See:
#WARNING
Syntax:
Elements:
Purpose:
Examples:
Example Files:
Also See:
This directive will tell the compiler to initialize and activate the Capacitive Sensing
Module (CSM) on the microcontroller. The compiler requires use of the TIMER0
and TIMER1 modules, and global interrupts must still be activated in the main
program in order for the CSM to begin normal operation. For most applications, a
higher RANGE, lower THRESHOLD, and higher SCANTIME will result better key
press detection. Multiple PIN's may be declared in “options”, but they must be valid
pins used by the CSM. The user may also generate a TIMER0 ISR with TIMER0's
interrupt occuring every SCANTIME milliseconds. In this case, the CSM's ISR will
be executed first.
#USE TOUCHPAD (THRESHOLD=5, PIN_D5='5', PIN_B0='C')
void main(void){
detected
'C'
}
'5'
None
touchpad_state(
#WARNING text
text is optional and may be any text
Forces the compiler to generate a warning at the location this directive appears
in the file. The text may include macros that will be expanded for the
display. This may be used to see the macro expansion. The command may also
be used to alert the user to an invalid compile time situation.
#if
#warning
#endif
ex_psp.c
#ERROR
}
char c;
enable_interrupts(GLOBAL);
while(1){
BUFFER_SIZE < 32
Buffer Overflow may occur
c = TOUCHPAD_GETC();
),
touchpad_getc(
),
touchpad_hit( )
//if PIN_B0 is pressed, c will have
//if PIN_D5 is pressed, c will have
//will wait until a pin is
151
Related parts for PCDIDE COMPILER
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
PROTOTYPING BOARD FOR PIC MCU
Manufacturer:
Custom Computer Services Inc (CCS)
Part Number:
Description:
Extra CCS C Manual
Manufacturer:
Custom Computer Services Inc (CCS)
Part Number:
Description:
MACH X Programmer
Manufacturer:
Custom Computer Services Inc (CCS)
Part Number:
Description:
PCD For 24-bit (PIC24/dsPIC)
Manufacturer:
Custom Computer Services Inc (CCS)
Part Number:
Description:
LOAD-n-GO Programmer
Manufacturer:
Custom Computer Services Inc (CCS)
Part Number:
Description:
EMBEDDED INTERNET DEVELOPMENT KIT W/PCWH
Manufacturer:
Custom Computer Services Inc (CCS)
Part Number:
Description:
PIC24F Development Kit With PCWHD
Manufacturer:
Custom Computer Services Inc (CCS)
Part Number:
Description:
PIC24F Development Kit With PCDIDE
Manufacturer:
Custom Computer Services Inc (CCS)
Part Number:
Description:
PIC24H Development Kit With PCWHD
Manufacturer:
Custom Computer Services Inc (CCS)
Part Number:
Description:
USB Master Prototyping Board
Manufacturer:
Custom Computer Services Inc (CCS)