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

    Degree symbol on display

    SOFTWARE
    2
    6
    4.7k
    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.
    • B
      Bladehunt0
      last edited by

      Hi all

      I'm unable to print the "degree symbol" (Β°) on the integrated LCD.
      I tried different options like: char(176), char(223), 0XDF, 0XB0, even the binary version. In the serial monitor everything works fine, but not on the LCD. Is it possible, that the used driver of the LCD isn't able to show the sign, meaning it can only print the ASCII symbols up to 128?
      Thanks.

      teastainT 1 Reply Last reply Reply Quote 0
      • teastainT
        teastain @Bladehunt0
        last edited by

        @bladehunt0 Hi, which model of M5Stack is this?
        Core 2 and Core basic can use different graphics.
        -Terry

        Cheers, Terry!

        100% M5Stack addict with several drawers full of product!

        1 Reply Last reply Reply Quote 0
        • B
          Bladehunt0
          last edited by

          Hi.

          I have the M5GO and the Core basic.

          BR Alex

          teastainT 1 Reply Last reply Reply Quote 0
          • teastainT
            teastain @Bladehunt0
            last edited by

            @bladehunt0 Well, I tried using M5.LCD.print(ΒΊ) but nothing on the LCD after upload!
            I think you are right that it does not support "extended ASCII", but...with a graphical interface, anything is possible...but with a ton of trial_and_error.
            -Terry

            Cheers, Terry!

            100% M5Stack addict with several drawers full of product!

            B 1 Reply Last reply Reply Quote 0
            • B
              Bladehunt0 @teastain
              last edited by

              @teastain yeah. It seems that, if I can't life with the asterisk, I'll have to draw a circle πŸ˜…
              Ty

              BR
              Alex

              teastainT 1 Reply Last reply Reply Quote 0
              • teastainT
                teastain @Bladehunt0
                last edited by teastain

                @bladehunt0
                I know that this is not an answer to your problem...I use a Core Basic to control the HVAC in my home office and the top reading is:
                Room Temp 24.3
                Fortunately the % sign is supported for Humidity!!!
                Here is an experiment!

                M5.Lcd.setCursor(272, 98);
                M5.Lcd.setFreeFont(FS9);
                M5.Lcd.print("o");
                worked surprisingly well.
                The "98" is 16 pixels higher than the reading.
                https://imgur.com/qMvmT7s

                Cheers, Terry!

                100% M5Stack addict with several drawers full of product!

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post