digitaljs icon indicating copy to clipboard operation
digitaljs copied to clipboard

Feature/add 7 segment display

Open mateusz-sz opened this issue 3 years ago • 1 comments

This pull requests introduces new element to the digitaljs package. A classical 7 segment display, that takes 8 bit input.

The most significant bit controls the decimal point dot. The other bits control segments of the display as follows: 1 -> a, 2 -> b, 3 -> c, 4 -> d, 5 -> e, 6 -> f, 7 -> g

Bit set to 1 fires up the "LED".

mateusz-sz avatar Aug 10 '22 14:08 mateusz-sz

Didn't test it yet, but the code looks fine.

tilk avatar Aug 10 '22 15:08 tilk