luma.oled: GPIO errors wen using lib on a Jetson TX2 ARMv8 (ubuntu 16.04, SPI mode) - SUCCESS !!!
Type of board = Jetson TX2 (aarch64, ARMv8) ubuntu 16.04 objective : control ssd1351 128x128 RGB oled
Hello all, I’m a real newbie in spi/gpio protocole, but I’d like to make your lib work on my board. the oled is wired correctly on my board : (spidev3.0)
tried this :
from luma.core.interface.serial import spi
from luma.oled.device import ssd1351
serial = spi(device=0, port=3)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/local/lib/python2.7/dist-packages/luma/core/interface/serial.py", line 253, in __init__
bitbang.__init__(self, gpio, transfer_size, DC=gpio_DC, RST=gpio_RST)
File "/usr/local/lib/python2.7/dist-packages/luma/core/interface/serial.py", line 148, in __init__
self._gpio = gpio or self.__rpi_gpio__()
File "/usr/local/lib/python2.7/dist-packages/luma/core/lib.py", line 30, in __rpi_gpio__
'GPIO access not available')
luma.core.error.UnsupportedPlatform: GPIO access not available
Sure it’s not a raspberry pi3, but perhaps there are just a few things to do to make it work ?! My project is a mobile social robot (https://plus.google.com/+vincentfoucault12) Using your libs, to animate it eyes. Please help ! Thanks a lot, Vincent
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Comments: 27 (2 by maintainers)
I posted over at OPi.GPIO project my suggestion to add Duo mappings. Going forward others can add more SBC mappings.