B4R Code Snippet DS3231 Clock - Another Snippet

Discussion in 'B4R Code Snippets' started by rodmcm, Dec 6, 2018 at 1:14 AM.

  1. rodmcm

    rodmcm Member Licensed User

    This is a simple read and write with only 4 subroutines and no library

    If of interest the ZS-042 module contains a DS3231 and on board I2C EEprom so you can get time and storage on one unit. See External EEPROM in the questions section for the latter ( though I must admit I haven't tried it on this module)
     

    Attached Files:

    Mostez and Erel like this.
  2. rodmcm

    rodmcm Member Licensed User

    Added Unix timestamp GMT
     

    Attached Files:

    spairo likes this.
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice