Re: [Tutor] Help with NameError

2016-09-01 Thread Peter Otten
Bryan Callow wrote: > Could someone help me with a NameError that I can't seem to figure out. > The program asks for an input and then runs two DC motors. It worked for > a while and then when I reopened the program today I keep getting this > error. Thank you. -Bryan [...] > print('Which dire

Re: [Tutor] Help with NameError

2016-09-01 Thread Alan Gauld via Tutor
On 01/09/16 02:29, Bryan Callow wrote: > Could someone help me with a NameError that I can't seem to figure out. It is hard for us to figure out without seeing the error message. It should tell you which name is in error and where. Please repost with the full error message included. -- Alan G A

[Tutor] Help with NameError

2016-09-01 Thread Bryan Callow
Could someone help me with a NameError that I can't seem to figure out. The program asks for an input and then runs two DC motors. It worked for a while and then when I reopened the program today I keep getting this error. Thank you. -Bryan import RPi.GPIO as GPIO from time import sleep GPIO.s