-
• #3
Tried your code and resulted in this error:
Uncaught InternalError: I2CWrite: No ACK 0 at line 1 col 40 ...teTo(104,[4,parseInt(a,16)]);this.i2c.writeTo(104,[5,parseIn... ^ in function "setDate" called from line 1 col 68 ...onth(),Date().getFullYear()); ^ >Uncaught InternalError: I2CWrite: No ACK 0 at line 1 col 27 this.i2c.writeTo(104,[0,0]);this.i2c.writeTo(104,[1,parseInt... ^ in function "setTime" called from line 1 col 71 ...utes(), Date().getSeconds()); ^ =undefined Uncaught InternalError: I2CWrite: No ACK 0 at line 1 col 23 this.i2c.writeTo(104,0);var a=this.i2c.readFrom(104,7),b=e(a... ^ in function "readDateTime" called from line 1 col 30 console.log(rtc.readDateTime());
-
• #4
Uncaught InternalError: I2CWrite: No ACK 0
Make sure you connected SDA and SCL to the pins you use.
Running a nodemcu lolin v3 and trying to communicate with a DS3231 which is on a ZS-042 board.
Tried using the module for DS3231 but no luck so far..
My Code:
Error:
Any thoughts of what i might be doing wrong ? , maybe the module isn't right for me.