PCDIDE COMPILER Custom Computer Services Inc (CCS), PCDIDE COMPILER Datasheet - Page 304

PCD C-COMPILER PIC24, DSPIC

PCDIDE COMPILER

Manufacturer Part Number
PCDIDE COMPILER
Description
PCD C-COMPILER PIC24, DSPIC
Manufacturer
Custom Computer Services Inc (CCS)
Type
Compilerr
Datasheet

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
Examples:
Example Files:
Also See:
sprintf( )
Syntax:
Parameters:
Returns:
Function:
Availability:
Requires:
Examples:
Example Files:
Also See:
290
sprintf(string, cstring, values...);
bytes=sprintf(string, cstring, values...)
string is an array of characters.
cstring is a constant string or an array of characters null terminated. Values are a
list of variables separated by commas.
Bytes is the number of bytes written to string.
This function operates like printf() except that the output is placed into the specified
string. The output string will be terminated with a null. No checking is done to ensure
the string is large enough for the data. See printf() for details on formatting.
All devices.
Nothing
char mystring[20];
long mylong;
mylong=1234;
sprintf(mystring,"<%lu>",mylong);
// mystring now has:
//
None
printf()
int i = 34;
spi_xfer(i);
// transfers the number 34 via SPI
int trans = 34, res;
res = spi_xfer(trans);
// transfers the number 34 via SPI
// also reads the number coming in from SPI
None
#USE SPI
< 1 2 3 4 > \0

Related parts for PCDIDE COMPILER