SW500007 Microchip Technology, SW500007 Datasheet - Page 250

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
omitted it defaults to 6. If the precision is zero, the decimal point will be omitted unless the alternate
format is specified.
Example
236
printf("Total = %4d%", 23)
printf("Size is %lx" , size)
printf("Name = %.8s", "a1234567890")
printf("xx%*d", 3, 4)
/* vprintf example */
#include <stdio.h>
int
error (char * s, ...)
{
}
void
main (void)
{
va_list ap;
va_start(ap, s);
printf("Error: ");
vprintf(s, ap);
putchar(’\n’);
va_end(ap);
int i;
yields ’Total =
where size is a long, prints size
as hexadecimal.
yields ’Name = a1234567’
yields ’xx 4’
23%’
Library Functions

Related parts for SW500007