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

Feature/add 7 segment display #84

Merged
merged 4 commits into from
Aug 16, 2022

Conversation

mateusz-sz
Copy link
Contributor

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

@tilk
Copy link
Owner

tilk commented Aug 10, 2022

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

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

Successfully merging this pull request may close these issues.

None yet

2 participants