Search Results - MEL PICBASIC Forum


Search:

Type: Posts; User: Tom Estes; Keyword(s):

Search: Search took 0.00 seconds.

  1. Replies
    23
    Views
    53,283

    Using other 1wire devices I have been able to do...

    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...
  2. Replies
    23
    Views
    53,283

    I'm not a VB person, don't even own a copy to try...

    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...
  3. Replies
    23
    Views
    53,283

    You should read Dallas Application note #27...

    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...
  4. Replies
    23
    Views
    53,283

    I am not familiar with the DS18S20 but a quick...

    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...
  5. Replies
    23
    Views
    53,283

    More than likely no. You don't state which and...

    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...
  6. Replies
    23
    Views
    53,283

    Dallas CRC8 Routines

    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...
Results 1 to 6 of 6