You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using the following function to try to read from the SPI bus on RaspberryPi3:
wpi.wiringPiSPIDataRW(1, new Buffer([0xFF]));
... this evaluates to an integer that seems to be equal to the length of my buffer (1 in this case). I guess I don't understand if there is something different I need to be doing with the 2nd parameter here.
For context, I am trying to emulate what this Python library is doing:
I am using the following function to try to read from the SPI bus on RaspberryPi3:
wpi.wiringPiSPIDataRW(1, new Buffer([0xFF]));
... this evaluates to an integer that seems to be equal to the length of my buffer (1 in this case). I guess I don't understand if there is something different I need to be doing with the 2nd parameter here.
For context, I am trying to emulate what this Python library is doing:
https://github.com/ul-gh/PiPyADC/blob/3f9ccd83a7680652255d3909d082d9b14176e289/pipyadc.py#L358-L370
The text was updated successfully, but these errors were encountered: