PCDIDE COMPILER Custom Computer Services Inc (CCS), PCDIDE COMPILER Datasheet - Page 240
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: 240 of 373
- Download datasheet (4Mb)
printf( ) fprintf( )
Syntax:
Parameters:
Returns:
Function:
226
printf (string)
printf (cstring, values...)
printf (fname, cstring, values...)
fprintf (stream, cstring, values...)
String is a constant string or an array of characters null terminated. Values is a list
of variables separated by commas, fname is a function name to be used for
outputting (default is putc is none is specified. Stream is a stream identifier (a
constant byte)
undefined
Outputs a string of characters to either the standard RS-232 pins (first two forms) or
to a specified function. Formatting is in accordance with the string argument. When
variables are used this string must be a constant. The % character is used within the
string to indicate a variable value is to be formatted and output. Longs in the printf
may be 16 or 32 bit. A %% will output a single %. Formatting rules for the % follows.
See the Expressions > Constants and Trigraph sections of this manual for other
escape character that may be part of the string.
If fprintf() is used then the specified stream is used where printf() defaults to
STDOUT (the last USE RS232).
Format:
The format takes the generic form %nt. n is optional and may be 1-9 to specify
how many characters are to be outputted, or 01-09 to indicate leading zeros, or
1.1 to 9.9 for floating point and %w output. t is the type and may be one of the
following:
c
s
u
d
Lu
Ld
x
X
Lx
LX
f
g
e
w
or
or
Character
String or character
Unsigned int
Signed int
Long unsigned int
Long signed int
Hex int (lower case)
Hex int (upper case)
Hex long int (lower case)
Hex long int (upper case)
Float with truncated decimal
Float with rounded decimal
Float in exponential format
Unsigned int with decimal place inserted. Specify two numbers for n.
The first is a total field width. The second is the desired number of
decimal places.
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)