??? 02/14/07 11:42 Modified: 02/14/07 12:01 Read: times |
#132887 - i\'m already doing that Responding to: ???'s previous message |
after the printf ("%c", my_byte[j]+48) i clear it:my_byte[j]=0x0;
so... i send the byte and then i clear it. is't that enough my_byte=0x0; ? printf("%c",my_byte[j] + '0'); isn't that the same thing with printf("%c",my_byte[j] + 48); ?? '0' in DECimal is 48... Sometimes the device is reading the some garbage data but it's constant...when it's reading wrong it's the same wrong data! great idea with putchar! Thanks for the tips |