function DS3231(i2c, options) {
  this.i2c = i2c;
  this.options = options || {};
  // are we doing daylight saving time calcs?
  if (this.options.DST===undefined)
    this.options.DST = true;
  // current state of daylight saving
  this.dstStatus = false;
}
/*
Module is to set date time and read date time from a DS3231 over I2C.
For the daylight saving to work (UK only) the time must be read at least every second so that when it occurs we write back to the module the shifted time.
*/
Module is to set date time and read date time from a DS3231 over I2C.
For the daylight saving to work (UK only) the time must be read at least every second so that when it occurs we write back to the module the shifted time.
Module is to set date time and read date time from a DS3231 over I2C . For the daylight saving to work ( UK only ) the time must be read at least every second so that when it occurs we write back to the module the shifted time .
function DS3231(i2c, options) {
  this.i2c = i2c;
  this.options = options || {};
  if (this.options.DST===undefined)
    this.options.DST = true;
  this.dstStatus = false;
}
function DS3231 ( i2c , options ) { this . i2c = i2c ; this . options = options || { } ; if ( this . options . DST === undefined ) this . options . DST = true ; this . dstStatus = false ; }
Module is to set date time and read date time from a DS3231 over I2C.
Module is to set date time and read date time from a DS3231 over I2C .
// are we doing daylight saving time calcs? // current state of daylight saving