🤖Have you ever tried Chat.M5Stack.com before asking??😎
    M5Stack Community
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    How to display UTF8 characters in M5Stack Fire

    Scheduled Pinned Locked Moved M5Stack Fire
    1 Posts 1 Posters 1.4k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • G Offline
      gbastos
      last edited by

      Hello everyone,

      I'm dealing with M5Stack Fire, and I'm trying to display Portuguese characters on display, until now without success.

      So basically a simple program like

      #include <M5Stack.h>
      
      void setup() {
        // Initialize the M5Stack
        M5.begin();
        
        // Clear the screen and display a message
        M5.Lcd.clear();
        M5.Lcd.setCursor(50, 50);
        M5.Lcd.print("Configuração está ok"); //Meaning: configuration it's ok
      }
      
      void loop() {
        // No need to put anything in loop for this example
      }
      
      

      But this does not print the ç character, ã or even á.
      I tried to load a custom font, but this is not good, because then I can't set it's size dynamically.

      Is there any way to make the M5Stack fire support these characters?

      1 Reply Last reply Reply Quote 0

      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
      • First post
        Last post