You are reading a single comment by @user54499 and its replies. Click here to read the full conversation.
  • Hi All!
    Impressed with the pico so far, but im stuggling to get the I2C2 bit working. Testing with the following code for an OLED, but iv tried other I2C devices to no avail on the second bus.

    function onInit() {
      I2C2.setup({scl:B10,sda:B3});
      var g = require("SSD1306").connect(I2C2);
      if(!g)
        console.log("error initing oled");
      else
        console.log("init SUCCESS");
    }
    

    any help appreciated

About

Avatar for user54499 @user54499 started