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

Custom module support #106

Open
techgarage-ir opened this issue Aug 9, 2023 · 1 comment
Open

Custom module support #106

techgarage-ir opened this issue Aug 9, 2023 · 1 comment

Comments

@techgarage-ir
Copy link

techgarage-ir commented Aug 9, 2023

I recently found a custom designed 7-segment which doesn't have a driver or IC to work with.
It has 8 shared pins at all for all of 8 digits.

This is the 7-segment:
module

There's a schematic available for it:
schema

Is it possible to use SevSeg library on this module ? or add a support for this device.

@DeanIsMe
Copy link
Owner

Hi techgarage,
That's a pretty creative pinout!
It's not supported in the library. It wouldn't be too hard to add, but it would make the existing code much more difficult to read, so I'd rather not add support.
I've made the library easy to understand, so you can fork the library and give it a go.
The biggest change is that your segment pins are different for each digit. So, you'll need to store a 2D array of segment pins (instead of the existing 1D array).

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

2 participants