Thanks Steve_88,skimask
about the DIG command i wasn't using the () ...that's why it didn't worked
cheers![]()
Thanks Steve_88,skimask
about the DIG command i wasn't using the () ...that's why it didn't worked
cheers![]()
Hi all,
i recently descovered a little bug in my code.
The result value was working just fine and i was getting it in the xx,x format.
This works well until i reach 99,9șC. After this i get the 4th digit in and the result ( instead of 110,5șC for example ) is 10,5șC .
This is due to the way the code is handling the value and sending it out.
How can i get the "," in there with 3 digits but keeping it when it reaches the 4th ?Code:'code for AD adcin temp,va tempe=(va*/2500 )>>2 'code to output value retrieved from eeprom debug dec2 RA/10,",",dec1 RA//10,13,10
EDIT:
This is what i i'm thinking:
Any idea ?Code:debug dec3 RA/10,",",dec1 RA//10,13,10
Thanks
Last edited by ruijc; - 30th March 2008 at 14:19.
Hello rujic
Last edited by Acetronics2; - 30th March 2008 at 15:06. Reason: have to read before answering !!!
************************************************** ***********************
Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
************************************************** ***********************
IF there is the word "Problem" in your question ...
certainly the answer is " RTFM " or " RTFDataSheet " !!!
*****************************************
Bookmarks