Display-O-Tron and GPIO Module


#1

Hello Guys,

I need help. I have RPi 3B and use Display-O-Tron Hat, but I needed same time used EXPLORE-NFC-WW so I bought this GPIO HUB MODUL.
Now, I have problem with display. I cant use backlight (lcd work) because I get this error.

Traceback (most recent call last):
  File "bargraph.py", line 5, in <module>
    import dot3k.backlight as backlight
  File "/usr/local/lib/python3.5/dist-packages/dot3k/backlight.py", line 1, in <module>
    import sn3218, colorsys, math
  File "/usr/lib/python3/dist-packages/sn3218.py", line 114, in <module>
    enable_leds(0b111111111111111111)
  File "/usr/lib/python3/dist-packages/sn3218.py", line 62, in enable_leds
    [enable_mask & 0x3F, (enable_mask >> 6) & 0x3F, (enable_mask >> 12) & 0X3F])
OSError: [Errno 121] Remote I/O error

Can You help me?

Sorry for my English :) and thank you for your help


#2

What GPIO pins is the EXPLORE-NFC-WW using?

Either the GPIO HUB is faulty, or there is a clash between the pins each board wants to use.


#3

Looks like it used SPI? https://www.element14.com/community/docs/DOC-71574/l/explore-nfc-board-for-raspberry-pi, and that’s where the conflict is?


#4

Okey this is problem NFC use SPI , when I remove NFC Board from HUB Displey work correctly, so that is conflict. But how to use both board same times without conflict?


#5

I don’t think you can use both? i2c can be shared, SPI not so much. I’m by no means an expert on this stuff though.