Skip to content

support change numbers for each digit separately #46

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

Open
strunx opened this issue Jul 11, 2020 · 1 comment
Open

support change numbers for each digit separately #46

strunx opened this issue Jul 11, 2020 · 1 comment

Comments

@strunx
Copy link

strunx commented Jul 11, 2020

hi,

Is there a chance to get a function into your great library like:

showNumber(number, pos=0, length=4, leading_zeros=false)
pos=0 -> left digit

So there is the posibillity to set and change numbers for each digit
separately, like e.g.

showNumber(2,0,2,true)
showNumber(1,2,1,false)
showNumber(5,3,1,false)

result: 02.1.5

showNumber(22,0,2,true)
showNumber(3,2,2,true)

result: 22.03

(for the Dots-positions we need the other Issue-support solved ;-)) )

?

@bremme
Copy link
Owner

bremme commented Jul 27, 2020

When I find some time to work on the library again I take all these suggestion in consideration. But for the time being why not use a function in your sketch to accomplish this. You should be able to build something using print() and setCursor I guess.

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

No branches or pull requests

2 participants