You are reading a single comment by @parasquid and its replies. Click here to read the full conversation.
  • I just tried it out on my pico (pardon the contrast, but the Hello World is there)

    However, I could only get it to work with I2C2

    If I use I2C1 b6/b7 I get this error:

    Uncaught InternalError: Timeout on I2C Write Transmit Mode 2
     at line 1 col 111
    ...|4,a|4,a,a,d,d,d|4,d|4,d,d])
                                  ^
    in function "a" called from line 1 col 7
    a(51,1),a(50,1),a(40,1),a(12,1),a(6,1),a(1,1),{write:a,clear...
          ^
    in function "a" called from line 1 col 133
    ...,a|4,a,a,d,d,d|4,d|4,d,d])})
                                  ^
    in function "connectI2C" called from line 1 col 807
    ...('HD44780').connectI2C(I2C1);lcd.print('Hello World!')
                                  ^
    Execution Interrupted
    

    Here's the code I used to test with I2C2:

    I2C2.setup({scl:B10, sda:B3});
    var lcd = require("HD44780").connectI2C(I2C2);
    lcd.print("Hello World!");
    

    1 Attachment

    • IMG_20201005_164258.jpg
About

Avatar for parasquid @parasquid started