Site icon Ercan Koçlar

MikroC – CRC LIBRARY

MikroC – CRC библиотека

MikroC – CRC библиотека

This post is also available in: Türkçe Azerbaycan Türkcesi Русский


Generally Accepted CRC Polynomials


Kodlar

EXAMPLE OF CRC USING

unsigned char data2[5];//Create the appropriate array for CRC

data2[0]=0b10111001;//data is loaded to sets
data2[1]=0b10111001;
data2[2]=0b10111001;
data2[3]=0b10001001;
data2[4]=0b10111001;

CRC7(data2,5,0b10001001,0);
//Crc function is called and parameters are entered
//If 0 is entered in the code variable (parameter 4), crc accounts
//Checks the correctness of the given variable if the crc code is entered in the code variable
If the result is zero, the data is transmitted correctly

Library and Resource Files



 


 

Exit mobile version