Go to advanced search

by zero10
Thu Feb 19, 2015 2:45 pm
Forum: Python
Topic: Error when running GPIO.cleanup()
Replies: 1
Views: 1178

Re: Error when running GPIO.cleanup()

D'oh! I found the error. The try/except is inside the loop when it should be outside! Pushing that up one level fixes the problem. Here is the solution: import RPi.GPIO as GPIO from time import sleep GPIO.setmode(GPIO.BCM) clock = 17 mosi = 18 GPIO.setup(clock,GPIO.OUT) GPIO.setup(mosi,GPIO.OUT) GPI...
by zero10
Thu Feb 19, 2015 2:18 pm
Forum: Python
Topic: Error when running GPIO.cleanup()
Replies: 1
Views: 1178

Error when running GPIO.cleanup()

I have written a program to output data to a WS2803 LED controller that is connected to GPIO17/GPIO18. The code itself runs properly, which is to say that the one LED I currently have connected does exactly what I expect, but I am getting an error when I CTRL+C the program to get it to stop. I think...
by zero10
Mon Oct 22, 2012 2:06 pm
Forum: Advanced users
Topic: iSCSI modules for 3.1.9+?
Replies: 20
Views: 11029

Re: iSCSI modules for 3.1.9+?

I found this thread from a google search and am hoping it isn't too old to still get some help with... I am trying to get iscsi target working on my raspberry pi, but I am running into a small problem. I have built the kernel as described above and booted from it (and verified that I am running my n...
by zero10
Sun Aug 12, 2012 1:54 pm
Forum: General discussion
Topic: General RS Posts
Replies: 125
Views: 17950

Re: RS Online

Wish I knew, I gave them my money June 21 and still have nothing. Tuesday the week before last my boss ordered 2 from Element 14 and he received them that friday. He ordered 2 more last tuesday and got a shipping email almost immediately. My wife seeing my frustration with this ordered me one from t...

Go to advanced search