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

support for Dots (not only single colon at the middle) #45

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

support for Dots (not only single colon at the middle) #45

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:

setDots(mask)
Set dots at the places corresponding to the four digits.
mask for each dot, so there can be displayed e.g.
0.00.0
0.0.0.0
00.00
0.0.00

?

@bremme
Copy link
Owner

bremme commented Jul 27, 2020

This is not straightforward since there are many different display on the market. Some have dots, some have colon and they are all wired differently (and some that do have dots have not wired them to the IC). When I originally wrote this library I only tested it on the display as showed on the main page. I'm thinking of doing a large rewrite or perhaps release a new library which should properly support all/most displays on the market. Until that time its best to write you own setDots function which works for your display. You first have to figure out if any of the dots/colons are connected at all, you can test by setting the 7th bit on every position and see what happens (printRaw(0x80, position).Once you know which dots/colons are mapped to which bits you can implement your setDots function. If you want you can let me know your exact display type, pcb and IC so I can make a list of how the different displays are mapped.

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