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

HT1621 driver #45

Merged
merged 1 commit into from
Apr 22, 2017
Merged

HT1621 driver #45

merged 1 commit into from
Apr 22, 2017

Conversation

rm-hull
Copy link
Owner

@rm-hull rm-hull commented Apr 15, 2017

Fixes #35

@@ -26,12 +26,18 @@ colors) with a switchable backlight:

.. image:: images/st7735.jpg

The HT1621 display (as purchased) supports six 7-segment characters with a
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not sure why the (as purchased) part is in there.

My ordered display also arrived and I'll test this asap.

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks like there are quite a few different variants that have 4, 5, 8 or 12 characters on the display. That statement was really just a disguised disclaimer saying it works on the 6 character device i suppose.

@thijstriemstra
Copy link
Collaborator

@rm-hull I'm trying to test this branch and started with:

$ python examples/demo.py --display ht1621
Traceback (most recent call last):
  File "examples/demo.py", line 99, in <module>
    main()
  File "examples/demo.py", line 54, in main
    device = get_device()
  File "/home/pi/projects/luma.examples/examples/demo_opts.py", line 51, in get_device
    device = cmdline.create_device(args)
  File "/home/pi/projects/luma.core/luma/core/cmdline.py", line 136, in create_device
    device = Device(spi, **vars(args))
TypeError: __init__() got multiple values for argument 'gpio'

Same with python examples/demo.py --display ht1621 --interface=spi..

@thijstriemstra
Copy link
Collaborator

Started adding some tests for issue in prev comment in term-bgcolor-79 of luma.core (rm-hull/luma.core#81).

@rm-hull rm-hull merged commit 75fee50 into master Apr 22, 2017
@rm-hull rm-hull deleted the ht1621 branch April 22, 2017 18:41
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.

2 participants