We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
No where in your example do you illustrate imports? A git clone of the project how do you leverage your solution?
#!/bin/env python
?????
digit = FourDigit().setUp()
a = digit.TOP_BAR | digit.MIDDLE_BAR | digit.BOTTOM_BAR | digit.RIGHT_TOP_BAR | digit.RIGHT_BOTTOM_BAR | digit.LEFT_BOTTOM_BAR b = digit.MIDDLE_BAR | digit.BOTTOM_BAR | digit.LEFT_TOP_BAR | digit.LEFT_BOTTOM_BAR | digit.RIGHT_BOTTOM_BAR c = digit.MIDDLE_BAR | digit.BOTTOM_BAR | digit.LEFT_BOTTOM_BAR d = digit.MIDDLE_BAR | digit.BOTTOM_BAR | digit.RIGHT_TOP_BAR | digit.RIGHT_BOTTOM_BAR | digit.LEFT_BOTTOM_BAR
digit.setDigit(0,a) digit.setDigit(1,b) digit.setDigit(2,c) digit.setDigit(3,d)
The text was updated successfully, but these errors were encountered:
Another example... of import errors and explanation...
Traceback (most recent call last): File "FourDigit.py", line 1, in from ._HT16K33 import Device ValueError: Attempted relative import in non-package
Sorry, something went wrong.
No branches or pull requests
No where in your example do you illustrate imports? A git clone of the project how do you leverage your solution?
#!/bin/env python
Create letters "a", "b", "c", & "d" across all for digits displays
?????
Enable device
digit = FourDigit().setUp()
Create characters
a = digit.TOP_BAR | digit.MIDDLE_BAR |
digit.BOTTOM_BAR | digit.RIGHT_TOP_BAR |
digit.RIGHT_BOTTOM_BAR | digit.LEFT_BOTTOM_BAR
b = digit.MIDDLE_BAR | digit.BOTTOM_BAR |
digit.LEFT_TOP_BAR | digit.LEFT_BOTTOM_BAR |
digit.RIGHT_BOTTOM_BAR
c = digit.MIDDLE_BAR | digit.BOTTOM_BAR | digit.LEFT_BOTTOM_BAR
d = digit.MIDDLE_BAR | digit.BOTTOM_BAR |
digit.RIGHT_TOP_BAR | digit.RIGHT_BOTTOM_BAR |
digit.LEFT_BOTTOM_BAR
Assign custom built characters to device
digit.setDigit(0,a)
digit.setDigit(1,b)
digit.setDigit(2,c)
digit.setDigit(3,d)
The text was updated successfully, but these errors were encountered: