You are reading a single comment by @DrAzzy and its replies. Click here to read the full conversation.
  • You need pullups on SDA and SCL if you don't have them already. 10k ohm resistor from SDA to Vcc, and SCL to Vcc.

    I2C1.setup({scl:B8,sda:B9}); //okay
    var eeprom=require("AT24").connect(I2C2, 8, 256, 1); //you're passing I2C2, but you just set up I2C1, not I2C2
    console.log(eeprom.read(0x64,"Merhaba Dunya"));  //what on earth is this expected to do? the .read() method takes 2 arguments, an address, and a number of bytes. Those look like the arguments you'd use for a write operation.  
    
About

Avatar for DrAzzy @DrAzzy started