Using other 1wire devices I have been able to do the following:
' Read the next 32 bytes, calculate running CRC but discard the bytes
For Index = 1 to 32
OWIn OWPort, 0, [CRCData]
GoSub...
Type: Posts; User: Tom Estes; Keyword(s):
Using other 1wire devices I have been able to do the following:
' Read the next 32 bytes, calculate running CRC but discard the bytes
For Index = 1 to 32
OWIn OWPort, 0, [CRCData]
GoSub...
I'm not a VB person, don't even own a copy to try your routine.
The routines I wrote were for the Dallas Semiconductor CRC8 check. Any other CRC routine may not work in the same manner. I note...
You should read Dallas Application note #27 Understanding and using cyclic redundancy checks.
You will need to select one of the three provided crc8 routines and put that in your PBP program. You...
I am not familiar with the DS18S20 but a quick look at the data sheet shows the CRC is calculated by reading all 8 bytes of the scratchpad memory, running them through the CRC routine and comparing...
More than likely no.
You don't state which and I may not be familiar with the 1 wire device you are using but normally you would not be able to skip any characters it transmits. They would all...
Three different PBP programs to calculate the Dallas 8bit CRC.
' PIC16F628
' These routines are documented in Dallas Semiconductor Application Note 27
' Understanding and Using Cyclic...