pilar
Joined: 30 Jan 2008 Posts: 197
|
printf int32 |
Posted: Tue Dec 13, 2011 4:29 pm |
|
|
Hi, what is my error in this code, only print 1234567, what is happening with the number 8?.
Code: |
#include <18F452.h>
#use delay(clock=20000000)
#fuses HS, BROWNOUT, BORV20, PUT, STVREN, NOLVP
#use rs232(baud=19200, xmit=PIN_C6, rcv=PIN_C7, ERRORS)// RS232 Estándar
int32 cnte1 = 0x12345678;
void main()
{
printf("%LX\n", cnte1);
} |
|
|