异或校验计算器
                                顺便分享一下异或校验的代码,也是我一直在用的: /******************************************************************************* Name:XORCheck Function: XORCheck. Input:buffer,size Return:result ******************************************/ uint8_t XORCheck(uint8_t* buffer, uint8_t size) { uint8_t i; uint8_t checksum = 0; for(i = 0; i < (size-1); i++) { checksum ^= *buffer++; } return checksum; }                            
                            
                            
                            
                        
                            下载地址
                        
                    
                            用户评论
                        
                     
                                
不怎么好用