How do I get my GPIO to work without getting syntax errors in my program, it says it doesn't recognise GPIO.
How do I get my GPIO to work without getting syntax errors in my program, it says it doesn't recognise GPIO.
We need a bit more info than that.
What program? Can you post the source code?
Do you have the exact working of the errors?
Mike
My program reads, "import RPi.GPIO as GPIO
The error I get is that "GPIO unknown"
Every time I use "GPIO" it gives me a syntax error.
Regards
Geoff
My program reads, "import RPi.GPIO as GPIO
The error I get is that "GPIO unknown"
Every time I use "GPIO" it gives me a syntax error.
Regards
Geoff
OK Geoff. It appears you are using python
what if you type
sudo python <name of your program>
?
Mike