Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 3881

Ubuntu • Re: No SPI devices in ubuntu 23 on raspberry 5

$
0
0
maybe i am allowed to answer though.

i did
apt install raspi-config python3-smbus python3-smbus2 spi-tools python3-spidev python3-lgpio python3-rpi-lgpio python3-pip python3-pil python3-numpy swig python3-dev python3-setuptools python3-luma.lcd python3-luma.oled

afterwards enabled ic2s and spi in raspi-config (it shows errors) and rebboted

after reboot i get
root@p5buntu:~# ls /dev/i2c* /dev/spi*
/dev/i2c-1 /dev/i2c-11 /dev/i2c-12 /dev/spidev0.0 /dev/spidev0.1 /dev/spidev10.0

if you want to use some scripts using gpio-functions on Raspi 5 you also might check this out:
https://github.com/bobrathbone/GPIOconverter

simply downlad and copy the RPi path into the path of your python-script, thats it and works like a chamr over here.

hef phun ;)

Statistics: Posted by wsxws — Mon Mar 04, 2024 5:23 pm



Viewing all articles
Browse latest Browse all 3881

Trending Articles