Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
char dataByte[5] = dataByte[0] ^ dataByte[1] ^ dataByte[2] ^ dataByte[3] ^ dataByte[4];
char CRC = dataByte[0] ^ dataByte[1] ^ dataByte[2] ^ dataByte[3] ^ dataByte[4];
if(CRC == dataByte[5])
{
//Good CRC
}
thank you wilksey, will try it out.
The max data bytes going trough in one frame are 100. Do you think it would still work for this much load ?
Also one more problem is that if i send Address 1 in my frame (here 1 goes in 9 bit UART mode) the receiver doesn't respond. For anyother address it responds okay. Now i checked the ASCII table and 1 means SOH (Start Of Heading). Can there be anything wrong with sending SOH character in UART as first character?
thank you wilksey, will try it out.
The max data bytes going trough in one frame are 100. Do you think it would still work for this much load ?