sjukheter Posted March 9, 2011 Report Share Posted March 9, 2011 Hi, I want append a floating point value to hex string in hex format and write it to the serial port. i was trying with type cast getting strucked with errors. How can I append like 23.3(which user writing in control) to a command code 88(in hex) in hex format. Can any one help me. Quote Link to comment
crossrulz Posted March 9, 2011 Report Share Posted March 9, 2011 Do you want the ASCII characters '2', '3', '.', and '3' (0x3233 2E33) or do you want the computer language (0x4037 4CCC CCCC CCCD)? Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.