Skip to content

Commit 7169c43

Browse files
committed
Forgot to update the AsciiDraw example sketch
1 parent 362d498 commit 7169c43

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/ASCIIDraw/ASCIIDraw.ino

+1-1
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ void setup() {
8686
ASCIIDraw.stroke('@', 0, 0);
8787
const char text[] = "ARDUINO";
8888
ASCIIDraw.textFont(Font_5x7);
89-
ASCIIDraw.setTextSize(fontSize);
89+
ASCIIDraw.textSize(fontSize);
9090
const byte textWidth = strlen(text) * ASCIIDraw.textFontWidth();
9191
const byte textHeight = ASCIIDraw.textFontHeight();
9292
const byte textX = (canvasWidth - textWidth) / 2;

0 commit comments

Comments
 (0)