pmiguelpinto90 / ShiftDisplay

Arduino library for driving 7-segment displays using shift registers
GNU General Public License v3.0
31 stars 15 forks source link

16 display #6

Open nabs13 opened 5 years ago

nabs13 commented 5 years ago

Hello Miguel, great work with the library, im trying to control 16 digit 7 segment with one arduino and so far your library is closest to what i need. i was thinking of making modifications to your library so it could accept 2 instances of the object shiftdisplay so that i can display 00000000-99999999 for one set and 00000000-99999999 for another set, but i am not the best C++ programmer around could you show me the way forward? Best Regards

ameer1234567890 commented 5 years ago

You can create 2 instances like this:

ShiftDisplay display1(COMMON_CATHODE, 8);
ShiftDisplay display2(COMMON_CATHODE, 8);