Re: GoPiGo script

2015-11-02 Thread hakugin . gin
On Monday, November 2, 2015 at 10:21:46 AM UTC-5, MRAB wrote: > On 2015-11-02 14:28, input/ldom...@casema.nl wrote: > > He mike, > > > > Thank you or making this script. > > Only I get errors for sleep. > > I also tried to change it to time.sleep() but that also gives errors. > > > > File "test05.p

Re: GoPiGo script

2015-11-02 Thread hakugin . gin
On Monday, November 2, 2015 at 9:28:35 AM UTC-5, input/ld...@casema.nl wrote: > He mike, > > Thank you or making this script. > Only I get errors for sleep. > I also tried to change it to time.sleep() but that also gives errors. > > File "test05.py", line 23 > sleep(2) > ^ > SyntaxErr

Re: GoPiGo script

2015-11-02 Thread hakugin . gin
On Monday, November 2, 2015 at 8:45:35 AM UTC-5, hakug...@gmail.com wrote: > On Monday, November 2, 2015 at 8:29:26 AM UTC-5, input/ld...@casema.nl wrote: > > I tried to use def loop(): now for to restart the script. > > but its only restart "fwd()" print ("forward 1x") and then stop. > > It does n

Re: GoPiGo script

2015-11-02 Thread hakugin . gin
On Monday, November 2, 2015 at 8:29:26 AM UTC-5, input/ld...@casema.nl wrote: > I tried to use def loop(): now for to restart the script. > but its only restart "fwd()" print ("forward 1x") and then stop. > It does not look further for the if function. > Is there another way to restart this script

Re: RPI.GPIO Help

2015-09-14 Thread hakugin . gin
On Sunday, September 13, 2015 at 2:09:11 AM UTC-4, John McKenzie wrote: > Hello, there. > > Hakugin, thank you you as well. I took the basic ideas you showed me for > improvement and used them. The pulse settings variable was not liked by > the interpreter, so I simplified it. I turned it in

Re: RPI.GPIO Help

2015-09-11 Thread hakugin . gin
On Friday, September 11, 2015 at 2:25:15 PM UTC-4, John McKenzie wrote: > Hello. > > Thanks to the help of people here and in other newsgroups I seem to have > something working doing the basics. (Buttons work, colours light up > appropriately.) > > When I followed MRAB's instructions and rea

Re: RPI.GPIO Help

2015-09-11 Thread hakugin . gin
On Friday, September 11, 2015 at 2:25:15 PM UTC-4, John McKenzie wrote: > Hello. > > Thanks to the help of people here and in other newsgroups I seem to have > something working doing the basics. (Buttons work, colours light up > appropriately.) > def red_button(channel): > global colour

Re: RPI.GPIO Help

2015-08-31 Thread hakugin . gin
On Monday, August 31, 2015 at 1:42:16 PM UTC-4, John McKenzie wrote: > Dennis, Hakugin, I tried your scripts and had to alter a typo here or > there, but once the basic errors disappeared I had the same error > message. "Conflicting edge detection already enabled for this GPIO > channel". > >

Re: RPI.GPIO Help

2015-08-28 Thread hakugin . gin
On Friday, August 28, 2015 at 1:40:41 PM UTC-4, John McKenzie wrote: > Thanks for the replies, everyone. > > Two of you suggested I ask in comp.sys.raspberry-pi. We leave in a world > where people cannot tell you the difference between the world wide web > and the Internet and tech support for