Closed thijstriemstra closed 7 years ago
@rm-hull any idea?
I think it can be solved with (at least for the RPi):
diff --git a/examples/demo_opts.py b/examples/demo_opts.py
index 5ab019d..a4a2986 100644
--- a/examples/demo_opts.py
+++ b/examples/demo_opts.py
@@ -154,7 +154,7 @@ def get_device(actual_args=None):
from luma.core.serial import noop
Device = getattr(luma.led_matrix.device, args.display)
Serial = make_serial(args, gpio=noop()).spi
- device = Device(Serial(), **vars(args))
+ device = Device(serial_interface=Serial(), **vars(args))
elif args.display in display_types.get('emulator'):
import luma.emulator.device
Test succeeds on rpi so I consider this closed.
test_get_device_led_matrix_all
also fails on Rpi2:On rpi2:
On Ubuntu machine I get: