LogoopenSUSE Build Service > Projects
Sign Up | Log In

python3-RPi.GPIO

No description set

Source Files

Filename Size Changed Actions
RPi.GPIO-0.6.3.tar.gz 27 KB almost 2 years ago Download File
python3-RPi.GPIO.spec 2.54 KB almost 2 years ago Download File

Comments for home:carnivorous:RPi (1)

carnivorous wrote almost 2 years 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; }

Login required, please login or signup in order to comment