Also, sometimes when it disconnects i get this error: OSError: [Errno 5] EIO
What does this error means?
The code i’m running in the openMV is really simple (see attached). And the code running on the raspberry pi which is acting as the master, is also very simple (see attached).
simple_sp_master.py (586 Bytes)
simple_spi_slave.py (290 Bytes)