Hi, I'm new and I'm a beginner in programming.I would like to "translate" that code https://wklejaj.pl/kod_w_c from C to Python. Actually, I've found documentation for spidev library for python http://tightdev.net/SpiDev_Doc.pdf but I can't fin something similar for spidev library for C.
I have problems especially with functions calles spiOpen, spiTransfer, spiClose.
Is anyone here who can help me to do this or give some advices? I couldn't find anything in Google which may have sense.
thanks a lot