just a small code example to display numbers on a 7 segment display should be easy to rewrite for your own needs.

Dependencies:   mbed

Fork of 7SegmentDisplay by Svend Kaffke

History

Wrote correction to matrix so it works with pinouts of LDQ-N514R1, a 4 digit, 7-segment display (common cathode) default tip

2016-09-03, by captaintim [Sat, 03 Sep 2016 17:31:45 +0000] rev 1

Wrote correction to matrix so it works with pinouts of LDQ-N514R1, a 4 digit, 7-segment display (common cathode)


7 Segment Display Basic

2012-12-29, by ShingyoujiPai [Sat, 29 Dec 2012 12:00:01 +0000] rev 0

7 Segment Display Basic