Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Print Degree ° symbol #3673

Open
MaxESP opened this issue Feb 24, 2025 · 4 comments
Open

Print Degree ° symbol #3673

MaxESP opened this issue Feb 24, 2025 · 4 comments

Comments

@MaxESP
Copy link

MaxESP commented Feb 24, 2025

Dear all,

I want to thanks Bodmer For this really amazing lib however I need to print special carractere Degree °

I have try a lot of combinaison without any succes that's make me crasy because i need real speed rate

My skech load the background on the setup and than just refesh the differents values from gps and imu.

and why this lib is amazing is that you can use printF function to the tft like this

tft.printf("%.2i",roll);

I need this °

how can i modify this lib to make ° like any letter

recap what i have tried

tft.print(char(0xB0));
tft.print(char(0x60));
tft.print("°")
tft.print("`");
tft.print("÷");

@elgerg
Copy link

elgerg commented Feb 24, 2025

Have a look at this post:
#350

It might help..

@MaxESP
Copy link
Author

MaxESP commented Feb 24, 2025

Have a look at this post: #350

It might help..

not working

@MaxESP
Copy link
Author

MaxESP commented Feb 25, 2025

Finaly I have found a trick by loading a custom font and put a o by set the cursor at the right position. I am going to try to make a custom font with just some custom carractere needed and not loading all the font

Image

@MaxESP
Copy link
Author

MaxESP commented Feb 25, 2025

refesh rate 250 ms it's amazing thank Bodmer !!!!!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants