And if you change the
toCode:For j=1 to 8
you will gain and a few memory bytes!Code:For j=0 to 7
Ioannis
And if you change the
toCode:For j=1 to 8
you will gain and a few memory bytes!Code:For j=0 to 7
Ioannis
Dallas CRC16 Routines (Tom Estes)
https://www.picbasic.co.uk/forum/showthread.php?t=1745
I haven't used the CRC16 routines, but Tom's CRC8 worked great on a project of mine.
<br>
DT
Thanks for replying me.
I tried the given code, but I am not able to write it in C#.Net. As I don't know the varaible type of CRC16. Can you please explain me?
Dear Andre
i need the sample code for implementing modbus slave on a PIC16F877A
please help me
Dear Andre
thank you for the code you have posted,actually i am trying to use the PIC16F877A
another thing i have copy and pasted your code to proton+ compiler and i got some error messages one of them was
for this part of the code:
IF CRC16.Bit0=1 Then '<------ error here is saying Invalid Cast for this type of variable
CRC16=$A001^(CRC16>>1)
Else
CRC16=CRC16>>1
EndIF
i don't know what does that means,please help me.
Best Regards
Bookmarks