DeanIsMe / SevSeg

Seven segment display controller library for Arduino
MIT License
328 stars 129 forks source link

Custom module support #106

Open techgarage-ir opened 1 year ago

techgarage-ir commented 1 year ago

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 commented 1 year ago

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).