Hello everyone,
I'm looking for a routine to convert a signed 32-bit variable to an ASCII string in order to send it out to a terminal or LCD. I know this is supported with PBPL but I can't afford the overhead PBPL introduces and so far I've managed to get the few 32bit operations (add & subtract) I need working without using PBPL. But now I'm a bit stuck....
Basically I have my 32bit variable declared as two word variables, myVarH and myVarL and I have 30byte array, TxBuffer, that I'm using to send things out thru the USART.
Anyone's got a suitable routine in your "toolbox" that you're willing to share? There are some over at the PICList and I'll try to digest them and get one of them working with PBP but I'd really like to cut some corners here if it's already been done.
TIA
/Henrik.
Bookmarks