CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

ltc1298.c
Goto page Previous  1, 2, 3
 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
Guest_Me
Guest







PostPosted: Mon Feb 14, 2005 8:20 am     Reply with quote

hi guys..its me again...
i finally did it.. now the hyperterminal shows it correctly...
ive changed the channel=0x1b; into 0x19.. now its reversed..
but i have one more problem...

the hex data should be for instance 849..but it shows me 8490 so the decimal is also not correct... it should be 2121 by 2,58V. but the decimal shows value is 33936.

how can i do it right? =( im so confused..
when i changed the line printf(" (%4lX)",data); to %3lX
then its completely a different value.
Guest_ME
Guest







PostPosted: Mon Feb 14, 2005 8:23 am     Reply with quote

this was the result of this:
printf(" (%3lX)",data);
printf(" (%4lX)",data);


Ch0: 2.602 (530) (8530)
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Goto page Previous  1, 2, 3
Page 3 of 3

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group