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: Help with RS485_get_message
duongnc

Replies: 13
Views: 34410

PostForum: General CCS C Discussion   Posted: Tue Nov 30, 2010 9:15 pm   Subject: cs stand for checksum
The problem you face is the check sum byte of the Protocol. You can look down into rs485_send_message function
for(i=0, cs=rs485_id^to^len; i<len; ++i) {
cs ^= *data; ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group