no matching function for call to 'Ink_Sprite::drawString(int, int, String&)'



  • Dear community,

    Under Arduino IDE, I got this error:

    no matching function for call to 'Ink_Sprite::drawString(int, int, String&)'

    trying to use:
    InkPageSprite.drawString(160, 2, PM10);

    even if I declared this before (and included M5CoreInk.h):

    Ink_Sprite InkPageSprite(&M5.M5Ink);

    Could you please help me to fix this problem?

    Best regards.