PCD COMMAND LINE COMPILER Custom Computer Services Inc (CCS), PCD COMMAND LINE COMPILER Datasheet - Page 164
PCD COMMAND LINE COMPILER
Manufacturer Part Number
PCD COMMAND LINE 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 PCD COMMAND LINE COMPILER
For Use With/related Products
Microchip PIC24/dsPIC®
Lead Free Status / RoHS Status
Not applicable / Not applicable
Other names
429-1007
- Current page: 164 of 373
- Download datasheet (4Mb)
Purpose:
Examples:
Example Files:
Also See:
#USE TOUCHPAD
Syntax:
Elements:
150
This directive creates a tick timer using one of the PIC's timers. The tick timer is
initialized to zero at program start. This directive also creates the define
TICKS_PER_SECOND as a floating point number, which specifies that number of
ticks that will occur in one second.
#USE_TIMER(TIMER=1,TICKS=1ms,BITS=16,NOISR)
unsigned int16 tick_difference(unsigned int16 current, unsigned
int16 previous) {
}
void main(void) {
}
None
get_ticks(),
#USE TOUCHPAD (options)
RANGE=x
Sets the oscillator charge/discharge current range. If x is L, current is nominally 0.1
microamps. If x is M, current is nominally 1.2 microamps. If x is H, current is
nominally 18 microamps. Default value is H (18 microamps).
THRESHOLD=x
x is a number between 1-100 and represents the percent reduction in the nominal
frequency that will generate a valid key press in software. Default value is 6%.
SCANTIME=xxMS
xx is the number of milliseconds used by the microprocessor to scan for one key
press. If utilizing multiple touch pads, each pad will use xx milliseconds to scan for
one key press. Default is 32ms.
PIN=char
If a valid key press is determined on “PIN”, the software will return the character
“char” in the function touchpad_getc(). (Example: PIN_B0='A')
return(current - previous);
unsigned int16 current_tick, previous_tick;
current_tick = previous_tick = get_ticks();
while(TRUE) {
}
current_tick = get_ticks();
if(tick_difference(current_tick, previous_tick) > 1000) {
}
output_toggle(PIN_B0);
previous_tick = current_tick;
set_ticks()
Related parts for PCD COMMAND LINE 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:
PIC24H Development Kit With PCDIDE
Manufacturer:
Custom Computer Services Inc (CCS)
Part Number:
Description:
PIC18F6722 Embedded C Development Kit With PCWH Compiler
Manufacturer:
Custom Computer Services Inc (CCS)
Part Number:
Description:
PIC18F8722 Embedded C Development Kit With PCWH Compiler
Manufacturer:
Custom Computer Services Inc (CCS)
Part Number:
Description:
USB Master Prototyping Board
Manufacturer:
Custom Computer Services Inc (CCS)