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 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();
}
The text was updated successfully, but these errors were encountered:
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();
}
The text was updated successfully, but these errors were encountered: