question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

ht1621 demo error

See original GitHub issue

Error when trying the demo:

$ python examples/sevensegment_demo.py -d ht1621
/home/rpitest/pi-test/luma.core/luma/core/interface/serial.py:164: RuntimeWarning: This channel is already in use, continuing anyway.  Use GPIO.setwarnings(False) to disable warnings.
  self._gpio.setup(pin, self._gpio.OUT)
Traceback (most recent call last):
  File "luma.examples/examples/sevensegment_demo.py", line 115, in <module>
    main()
  File "luma.examples/examples/sevensegment_demo.py", line 70, in main
    device = get_device()
  File "/home/rpitest/pi-test/luma.examples/examples/demo_opts.py", line 61, in get_device
    device = cmdline.create_device(args)
  File "/home/rpitest/pi-test/luma.core/luma/core/cmdline.py", line 176, in create_device
    device = Device(spi, **vars(args))
TypeError: __init__() got multiple values for argument 'gpio'

Issue Analytics

  • State:open
  • Created 6 years ago
  • Comments:13 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
thijstriemstracommented, Dec 23, 2017

Presumably if you write a simple test program as described in https://luma-lcd.readthedocs.io/en/latest/python-usage.html#seven-segment-drivers, the driver works?

Yep!

but I’m not in a position to test this at the moment, could you try it?

Same here, but will do.

We can add it if you like?

Sound good (for newbies).

0reactions
thijstriemstracommented, Jan 27, 2018

ps. using suggested code (and not the examples) worked fine for me (only tested numerals though).

Read more comments on GitHub >

github_iconTop Results From Across the Web

HT1621 7 segment LCD Arduino library - GitHub
HT1621 7 segment LCD Arduino library. Arduino library for 7-segment lcds based on the HT1621 driver. Very often marked as PDC-6X1.
Read more >
Hobby Components HT1621 6 Digit 7 Segment LCD Module ...
A short video demonstration using the Hobby Components HCDisplay Arduino compatible library with our HT1621 6 Digit 7 Segment LCD Module.
Read more >
View topic - Porting 20x4 LCD Code To HT1621 OEM LCD
I have a HT1621 LCD I want to display on. I am ready to submit this to ... //#use rs232(baud = 9600,xmit=PIN_C6,DISABLE_INTS,ERRORS)
Read more >
PATENTED - EEVblog
feature of the HT1621 makes it suitable for multiple LCD ... terface between the host controller and the HT1621. ... jump, execution errors,...
Read more >
AA Craaft Diaphragm for HT1621, F10 – Thomann United States
Diaphragm For HT1621, F10 High-frequency driver. ... Review guidelines. 7 Reviews. D. aa craaft diaphragma for ht1621. David199 01.06.2013.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found