We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 362d498 commit 7169c43Copy full SHA for 7169c43
examples/ASCIIDraw/ASCIIDraw.ino
@@ -86,7 +86,7 @@ void setup() {
86
ASCIIDraw.stroke('@', 0, 0);
87
const char text[] = "ARDUINO";
88
ASCIIDraw.textFont(Font_5x7);
89
- ASCIIDraw.setTextSize(fontSize);
+ ASCIIDraw.textSize(fontSize);
90
const byte textWidth = strlen(text) * ASCIIDraw.textFontWidth();
91
const byte textHeight = ASCIIDraw.textFontHeight();
92
const byte textX = (canvasWidth - textWidth) / 2;
0 commit comments