AN2264 Motorola Semiconductor Products, AN2264 Datasheet - Page 13

no-image

AN2264

Manufacturer Part Number
AN2264
Description
Freescale Semiconductor, Inc.
Manufacturer
Motorola Semiconductor Products
Datasheet
}
}
MOTOROLA
}
}
dcount ++;
PTF = (PTF & 0xF0) | scan[dcount & 0x03]; /* and use the two LS bits */
PTD = display[dcount & 0x03];
}
display[2] = 1 | seg7[units];
display[1] = 0x00;
display[0] = 0x00;
if (tens != 0)
{
}
else if (negative)
{
}
display[1] = seg7[tens];
if (negative)
{
}
display[1] = 0x02;
display[0] = 0x02;
Freescale Semiconductor, Inc.
For More Information On This Product,
LIN Node Temperature Display
Go to: www.freescale.com
/* units w. decimal point
/* clear tens digit
/* and hundreds digit
/* tens digit zero ?
/* no, display it
/* negative ?
/* yes put "-" in hundreds */
/* tens zero, negative ?
/* yes, put "-" in tens
/*
/* increment digit counter */
/* to get data from arrays */
*/
*/
*/
*/
*/
*/
*/
*/
*/
Software listing
AN2264/D
13

Related parts for AN2264