I tried to access SPI pins with the help of Pi4j library through android app on emteria.os and using raspberry pi 3B model.
In package com.pi4j/util/NativeLibraryLoader.java in line 166
String osArch = System.getProperty("os.arch");
switch (osArch) {
case "arm":
osArch = "armhf";
break;
case "aarch64":
break;
default:
throw new IllegalStateException("Unknown os.arch value " + osArch);
}
In my system i get osArch = "armv7l" and therefore I am not able to use SPI on raspberry pi 3B model.
I tried to access SPI pins with the help of Pi4j library through android app on emteria.os and using raspberry pi 3B model. In package com.pi4j/util/NativeLibraryLoader.java in line 166
String osArch = System.getProperty("os.arch"); switch (osArch) { case "arm": osArch = "armhf"; break; case "aarch64": break; default: throw new IllegalStateException("Unknown os.arch value " + osArch); }
In my system i get osArch = "armv7l" and therefore I am not able to use SPI on raspberry pi 3B model.