Open frank-w opened 1 year ago
You would have to find a replacement library for RPi.GPIO (the low level GPIO library that luma uses). There is an OPi.GPIO for orange pi (which I am the main author of). I haven't kept track recently but many folks have used that for various different SBCs, but I don't know about banana pi.
There have been small fixes but I haven't maintained it much lately: https://github.com/rm-hull/OPi.GPIO
have opened a thread in banana-pi forum
https://forum.banana-pi.org/t/bpi-r3-gpio-support-in-python/14662
there is a link in first posting pointing to bananapi-pi related gpio-lib which does not yet support bpi-r3
maybe your lib can support spidev? seen this in adafruit-library. this way no direct gpio-access is needed (except reset which can be done via sysfs or gpiolib). i'll find it strange that settings done in kernel already need to be done in userspace lib again.
i2c display is working (luma-oled module) without specific gpiolib through the i2c device in /dev maybe it is possible with spidev in same way :)
Hi,
documentation says:
so this does not require raspberry-pi ;)
Type of Raspberry Pi
i try to get the lcd-lib working with spi/spidev on a bananapi and got this error (3.5inch rpi-display with 3v3 + 5v + gnd + spi-pins connected):
Linux Kernel version
6.2-rc1
Expected behaviour
luma-lcd could access spidev already probed or i need to adjust pins/gpio-base? if yes where can i do this?
Actual behaviour
currently i get traceback because my device is no raspberry pi...how can i change this?
traceback above
regards Frank