Any example references to using the extra fonts in M5 Tough
-
Hi all,
My learning journey has been a big one over the past two weeks with my M5 Tough, and I'm now a lot more comfortable with doing most basic things with it. However one thing that I haven't been able to do is get the GFXFF extra font set working with instructions like "M5.Lcd.drawString()". At the moment I'm limited to the basic fonts 1, 2 4, etc.I found the information in the Free_fonts.h file, and included it with #include<Free_Fonts.h> in my main project. And then had a go at trying to reference the fonts using this type of reference "&fonts::&FreeSansBold18pt7b" for the font parameter within the M5.Lcd.drawString command above, but couldn't get the code to compile as it looks like the drawString function is expecting an integer value.
I'm sure I'm probably missing something simple here, so any pointers or examples of how to use the free fonts on the M5 Tough is appreciated.
Thanks.
galeap -
Un fortunately this is not advised due to lack of space in the firmware.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login