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

Tab character does not produce a Tab on Display, prints what looks like the degree symbol centered on the line? #19

Open
dannyz2 opened this issue May 14, 2024 · 0 comments

Comments

@dannyz2
Copy link

dannyz2 commented May 14, 2024

Like the title says, Tab character does not produce a Tab on Display, prints what looks like the degree symbol centered on the line.
Printing the same line on the serial monitor displays a Tab, like it should, but the display does not print a Tab, it prins something akin to the degree symbol.

       display.print(stockName[i] +" "+"\t"+"\t"+"\t"+"$"+stockPrice[i]);   prints... TDooo$77.88 (the ooo, is printed vertically centerered on the line)

        Serial.println(stockName[i] +" "+"\t"+"\t"+"\t" +"$"+stockPrice[i]);  prints... TD               $77.88 (Like it should)

Why does the display.print not recognize the Tab character, or, what character do I need to use to get a Tab? I would like to align data in columns on the display, but, no go withut Tab working

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

1 participant