You are reading a single comment by @Gordon and its replies. Click here to read the full conversation.
  • That's great! It's almost what I was hoping for, but it looks a bit like somehow it's wrapped around so one of the lines is in the wrong place... I was expecting just a diagonal line.

    Maybe try some other things with graphics:

    g.clear();
    g.drawRect(0,0,7,7);
    g.flip();
    
    g.clear();
    g.drawString("Hi");
    g.flip();
    

    and see if it's doing the right thing. It might be we have to fiddle with it a bit to get everything lined up.

    Maybe try one of these commands in flip instead and see if it fixes it:

    I2C1.writeTo(0x70, 1, g.buffer); 
    I2C1.writeTo(0x70, 2, g.buffer); 
    I2C1.writeTo(0x70, 7, g.buffer); 
    I2C1.writeTo(0x70, 14, g.buffer); 
    

    When that's done we should turn it into a module :)

    It'll be great if you included the Pico in your talks too - thanks! Let me know if i can help out at all.

About

Avatar for Gordon @Gordon started