| ??? 04/17/08 10:31 Read: times |
#153602 - just tried that... Responding to: ???'s previous message |
Just tried adding that library and I get errors when I try to build the code when using both printf and sprintf. Managed to get it working though by using an unsigned char
#define upBits 0x30; unsigned char pulsechar1; unsigned char pulsechar1; . . . . pulsechar1 = (unsigned char)((pulse_count / 10)+upBits); pulsechar2 = (unsigned char)((pulse_count % 10)+upBits); |
| Topic | Author | Date |
| 8051 - int to string | 01/01/70 00:00 | |
| Use sprintf() to do the lot. | 01/01/70 00:00 | |
| tried those :( | 01/01/70 00:00 | |
| If you had read the manual ... | 01/01/70 00:00 | |
| just tried that... | 01/01/70 00:00 | |
You need to think about it | 01/01/70 00:00 |



