I’ve been having some problems with the library. I just can’t get the LED to light up. I managed to get the library working without errors, but somehow can’t get the LED to do its thing. I know the LED works because ive tested it.
Here is the code:
import os
import sys
from time import sleep
from wiringX import gpio
gpio.setup(gpio.ROCK4);
gpio.pinMode(gpio.PIN0, gpio.PINMODE_OUTPUT);
try:
while True:
gpio.digitalWrite(gpio.PIN0, gpio.HIGH);
except KeyboardInterrupt:
pass
(I know that pin 0 is gpio17)