| ??? 09/15/03 14:06 Read: times |
#54748 - RE: C Routine for Hex to ASCII Responding to: ???'s previous message |
Hi Mike,
I've coded a function able to sent on UART or LCD an ASCII string corresponding to a 32 bits value with manual dot placement. The function is called like : U8* = UTIL_LongToAscii (U32 u32Value, U8 u8NumberOfIntegerDigits, U8 u8NumberOfDecimalDigits) u32Value = 32 bits Value to display u8NumberOfIntegerDigits = Number of interger digits. If this number is higher than the number of integer digits, it will display the non significant '0' u8NumberOfDecimalDigits = Number of decimal digits You can see the detailled code in the resources pages of my website, it may give you some ideas. Regards Stephane |
| Topic | Author | Date |
| C Routine for Hex to ASCII | 01/01/70 00:00 | |
| RE: C Routine for Hex to ASCII | 01/01/70 00:00 | |
| RE: C Routine for Hex to ASCII | 01/01/70 00:00 | |
| RE: C Routine for Hex to ASCII | 01/01/70 00:00 | |
| RE: C Routine for Hex to ASCII | 01/01/70 00:00 | |
| RE: C Routine for Hex to ASCII | 01/01/70 00:00 | |
| RE: C Routine for Hex to ASCII | 01/01/70 00:00 | |
| RE: C Routine for Hex to ASCII | 01/01/70 00:00 | |
| RE: C Routine for Hex to ASCII | 01/01/70 00:00 | |
| RE: C Routine for Hex to ASCII | 01/01/70 00:00 | |
| RE: C Routine for Hex to ASCII | 01/01/70 00:00 | |
| RE: C Routine for Hex to ASCII | 01/01/70 00:00 | |
| RE: C Routine for Hex to ASCII | 01/01/70 00:00 | |
| RE: C Routine for Hex to ASCII | 01/01/70 00:00 | |
| RE: C Routine for Hex to ASCII | 01/01/70 00:00 | |
| RE: C Routine for Hex to ASCII | 01/01/70 00:00 | |
RE: C Routine for Hex to ASCII | 01/01/70 00:00 | |
| RE: C Routine for Hex to ASCII | 01/01/70 00:00 |



