Welcome to our new forum
All users of the legacy CODESYS Forums, please create a new account at account.codesys.com. But make sure to use the same E-Mail address as in the old Forum. Then your posts will be matched. Close

OneWire library timestamp usage

pemat
2016-10-25
2016-10-27
  • pemat - 2016-10-25

    I have Rpi 3 with latest Raspbian and Codesys runtime v3.5.9.20. I have a working hardware with OneWire_DS18B20 library: I can read the temperature no problem. But in the OneWire library there is an output "stdTimeStamp: RTS_SYSTIMEDATE;" which apparently is the timestamp of the temperature measurement. How can I make use of this timestamp and display it in a visualization? I guess I have to somehow extract the structured timestamp from it but I have no idea how.

     

Log in to post a comment.