rm-hull / luma.lcd

Python module to drive PCD8544, HT1621, ST7735, ST7567 and UC1701X-based LCDs
https://luma-lcd.readthedocs.io
MIT License
156 stars 56 forks source link

HT1621 driver #45

Closed rm-hull closed 7 years ago

rm-hull commented 7 years ago

Fixes #35

thijstriemstra commented 7 years ago

@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 commented 7 years ago

Started adding some tests for issue in prev comment in term-bgcolor-79 of luma.core (https://github.com/rm-hull/luma.core/pull/81).