modul.setDots(byte)
GoogleCodeExporter opened this issue · 3 comments
GoogleCodeExporter commented
What is the expected output?
Dot's on display
Please provide any additional information below.
Would be nice to add this command so we can turn on any dot on display without
erasing existing content so that if i send string "234 TEST" and afterwards i
send module.setDots(0b01000000) i get on display "23.4 TEST"
Original issue reported on code.google.com by sikl...@gmail.com
on 14 Nov 2011 at 2:28
GoogleCodeExporter commented
The problem with that is that the dot is treated like any other segment on the
7-segment display. I can't really just set the dot without setting the other 6
segments. I can't really create a setDots() method without saving what is
displayed on every other segment.
I didn't have access to the datasheet on the TM1638 so I don't know if I can
read back the display values instead of storing them on the library but, for
now, there is really no need to spend the extra memory by storing values on the
library itself.
What I can do is add a dots argument on setDisplayToString like on the
numerical functions.
Hope that solves it, for now.
Original comment by rjbati...@gmail.com
on 14 Nov 2011 at 5:16
- Changed state: Accepted
- Added labels: Priority-Medium, Type-Enhancement
GoogleCodeExporter commented
That would do the job... great...thanks
Original comment by sikl...@gmail.com
on 14 Nov 2011 at 5:20
GoogleCodeExporter commented
Available in version 1.4.0
Original comment by rjbati...@gmail.com
on 14 Nov 2011 at 9:13
- Changed state: Verified