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

Search found 1 match
CCS Forum Index
Author Message
  Topic: floatin to byte using union
sachin

Replies: 2
Views: 7983

PostForum: General CCS C Discussion   Posted: Sat Oct 02, 2004 6:32 am   Subject: floatin to byte using union
Hi,

I am doing serial communication between VC++ code and CCS code
using USART.

for float to byte conversion have used union.

union
{
unsigned char tmp_char[4];
float tmp_float;
...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group