i got this exception :com.google.android.things.pio.PioException: android.os.ServiceSpecificException: SPI0.0 driver failure (code 5)
when i was light a LED WS2812
i use pi3 and my code
PeripheralManagerService service = new PeripheralManagerService();
try {
mDevice = service.openSpiDevice("SPI0.0");
mDevice.setBitsPerWord(1);
mDevice.setFrequency(10000000);
mDevice.setMode(SpiDevice.MODE0);
} catch (IOException e) {
e.printStackTrace();
}
i got this exception :com.google.android.things.pio.PioException: android.os.ServiceSpecificException: SPI0.0 driver failure (code 5) when i was light a LED WS2812 i use pi3 and my code PeripheralManagerService service = new PeripheralManagerService(); try { mDevice = service.openSpiDevice("SPI0.0"); mDevice.setBitsPerWord(1); mDevice.setFrequency(10000000); mDevice.setMode(SpiDevice.MODE0); } catch (IOException e) { e.printStackTrace(); }