-
Notifications
You must be signed in to change notification settings - Fork 86
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
tm.temperature scroll for negative and > 99 values #8
Comments
I added the To show something when outside this range, I added "HI" for High and "LO" for Low.
Another way of writing To support a wider range of temperatures / numbers, you could stringify your number and call |
Ah I see, it says LO/HI! Sorry for calling it garbled text ;) YOLO. I will try to come up with a scrolling version, at least for my own project, and let you know how it goes. |
Sounds like this is what you're after:
|
@mcauser that's beautiful! having that as the default behaviour for |
A DS18B20 measures temperatures from -55°C to +125°C. With
tm.temperature(101)
as well astm.temperature(-10)
it shows garbled text. Is it possible to simply scroll for values over > 99 or < -9? Also see https://github.com/mcauser/micropython-tm1637/blob/master/tm1637_test.py#L209I can create a PR if you like the idea.
The text was updated successfully, but these errors were encountered: