Source Files
Filename | Size | Changed | Actions |
---|---|---|---|
RPi.GPIO-0.6.3.tar.gz | 000002760027 KB | 1483653374over 1 year ago | ![]() |
python3-RPi.GPIO.spec | 00000026022.54 KB | 1483654945over 1 year ago | ![]() |
Filename | Size | Changed | Actions |
---|---|---|---|
RPi.GPIO-0.6.3.tar.gz | 000002760027 KB | 1483653374over 1 year ago | ![]() |
python3-RPi.GPIO.spec | 00000026022.54 KB | 1483654945over 1 year ago | ![]() |
Won't work on RPi3 with openSUSE kernel! Because: if ((fp = fopen("/proc/cpuinfo", "r")) == NULL) return -1; while(!feof(fp)) { fgets(buffer, sizeof(buffer), fp); sscanf(buffer, "Hardware : %s", hardware); if (strcmp(hardware, "BCM2708") == 0 || strcmp(hardware, "BCM2709") == 0 || strcmp(hardware, "BCM2835") == 0 || strcmp(hardware, "BCM2836") == 0 || strcmp(hardware, "BCM2837") == 0 ) { found = 1; }