SW500007 Microchip Technology, SW500007 Datasheet - Page 253

PICC-18 PRO

SW500007

Manufacturer Part Number
SW500007
Description
PICC-18 PRO
Manufacturer
Microchip Technology
Type
Compilerr
Series
PIC18r
Datasheets

Specifications of SW500007

Supported Families
PIC18
Core Architecture
PIC
Software Edition
Professional
Kit Contents
Software And Docs
Mcu Supported Families
PIC18
Tool Function
Compiler
Tool Type
Compiler
Lead Free Status / RoHS Status
Not applicable / RoHS Compliant
For Use With/related Products
PIC18 Series
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
Other names
015P
778-1002
778-1002
Library Functions
omitted it defaults to 6. If the precision is zero, the decimal point will be omitted unless the alternate
format is specified.
Print the corresponding argument in scientific notation. Otherwise similar to f.
Use e or f format, whichever gives maximum precision in minimum width. Any trailing zeros after
the decimal point will be removed, and if no digits remain after the decimal point, it will also be
removed.
Integer conversion - in radices 8, 16, 16, 10 and 10 respectively. The conversion is signed in the
case of d, unsigned otherwise. The precision value is the total number of digits to print, and may be
used to force leading zeroes. E.g. %8.4x will print at least 4 hex digits in an 8 wide field. Preceding
the key letter with an l indicates that the value argument is a long integer. The letter X prints out
hexadecimal numbers using the upper case letters A-F rather than a-f as would be printed when using
x. When the alternate format is specified, a leading zero will be supplied for the octal format, and a
leading 0x or 0X for the hex format.
Print a string - the value argument is assumed to be a character pointer. At most n characters from
the string will be printed, in a field m characters wide.
The argument is assumed to be a single character and is printed literally.
single percent sign.
a list of arguments. See the description of va_start() for more information on variable argument lists.
An example of using vprintf() is given below.
Example
e
g
o x X u d
s
c
Any other characters used as conversion specifications will be printed. Thus % will produce a
The vprintf() function is similar to printf() but takes a variable argument list pointer rather than
printf("Total = %4d%", 23)
printf("Size is %lx" , size)
printf("Name = %.8s", "a1234567890")
yields ’Total =
where size is a long, prints size
as hexadecimal.
yields ’Name = a1234567’
23%’
239

Related parts for SW500007