i try to understand howto read data from SPI using pi4J. how to configure these SPI pin using B4J with pi4J library. this picture that i want to read data from SPI. This is SPI pin that i want to read data from SPI:
GPIO 10: MOSI
GPIO 9: MISO
GPIO 11: SCLK
GPIO 7: CE1
GPIO 8: CE0
Ground
5 V power
GPIO 10: MOSI
GPIO 9: MISO
GPIO 11: SCLK
GPIO 7: CE1
GPIO 8: CE0
Ground
5 V power