...
First build the dio-spi.jar file:
Then copy ../../build/jar/dio-spi.jar to the board. | (On the Pi/iMX6)
Note that these are the current values in the repo which reflect a recent update. Older dio.peprties versions will not work.
Note that "12" is the device manager ID number of the SPIDevice in the example property line shown above. "4" selects the channel on the MPC3008. You should use the channel number connected to the analog circuit you're trying to read. |