cbm80amiga / ST7920_SPI

ST7920 SPI 128x64 LCD library

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

String problem

lluukkaaa opened this issue · comments

Hi, Ihave a problem with displaying float

temp = 22.45;
Stemp = String(temp);
lcd.cls();
lcd.setFont(c64enh);
lcd.printStr(ALIGN_CENTER, 28, Stemp);
lcd.drawRect(18,20,127-182,63-202,1);
lcd.display(0);

I have tried this but there is a massage:

no matching function for call to 'ST7920_SPI::printStr(int, int, String&)'