Search found 9 matches

by bkibalo
Wed Jun 12, 2013 8:31 pm
Forum: Nuts & Volts Magazine Discussions
Topic: Raspberry Pi-Python-rpi.gpio
Replies: 20
Views: 8295

Re: Raspberry Pi-Python-rpi.gpio

WMc I'm glad you are making progress! Keep us posted. Once you get in the swing of this, I think you will realize there are a lot more possibilities. BTW - python3 should work fine, but I was using python 2 (not sure what subversion, maybe 7?) to run all of that code. If you start having weird error...
by bkibalo
Wed May 15, 2013 4:59 am
Forum: Nuts & Volts Magazine Discussions
Topic: Raspberry Pi-Python-rpi.gpio
Replies: 20
Views: 8295

Re: Raspberry Pi-Python-rpi.gpio

WMc, Sounds like you may have an issue with the path settings on your Pi. Not sure why this is - before we make that conclusion, make sure you are in the directory where the project files are. For example, if you type 'ls' you should see set_LED.py, get_temp.py, etc... If that is the case then we ne...
by bkibalo
Mon May 13, 2013 7:32 pm
Forum: Nuts & Volts Magazine Discussions
Topic: Raspberry Pi-Python-rpi.gpio
Replies: 20
Views: 8295

Re: Raspberry Pi-Python-rpi.gpio

WMc, Assuming you've called idle correctly - you should be able to get this working just calling the function. Make sure you are in the directory where the .py files are. Type -- "sudo idle" at the prompt >>> from set_LED import * You shouldn't get any errors, idle should just return you another pro...
by bkibalo
Sun May 12, 2013 7:26 pm
Forum: Nuts & Volts Magazine Discussions
Topic: Raspberry Pi-Python-rpi.gpio
Replies: 20
Views: 8295

Re: Raspberry Pi-Python-rpi.gpio

WMc, The returns aren't really necessary - (the last return line should be even-spaced with all of the GPIO statements, ensure that is the case first), If you want to implement them for error handling you can do so - you can simply remove all the return statements safely. If you end up removing the ...
by bkibalo
Sat May 11, 2013 8:57 am
Forum: Nuts & Volts Magazine Discussions
Topic: Raspberry Pi-Python-rpi.gpio
Replies: 20
Views: 8295

Re: Raspberry Pi-Python-rpi.gpio

WMC,

Glad that fixed the issue. If has been a while since you installed something, you should always update the listing first with the update.

Good luck!
Ben
by bkibalo
Thu May 09, 2013 2:00 pm
Forum: Nuts & Volts Magazine Discussions
Topic: Raspberry Pi-Python-rpi.gpio
Replies: 20
Views: 8295

Re: Raspberry Pi-Python-rpi.gpio

WMC, You may be having some trouble because you need to update your package list. Try: >sudo apt-get update then try >sudo apt-get install python-rpi.gpio If that isn't working, do a package search, for example: >sudo apt-cache search gpio This should provide a list of applicable programs for you to...
by bkibalo
Thu May 09, 2013 1:55 pm
Forum: Nuts & Volts Magazine Discussions
Topic: Raspberry Pi-Python-rpi.gpio
Replies: 20
Views: 8295

Re: Raspberry Pi-Python-rpi.gpio

Jerry

The commands should be:
>sudo modprobe w1-gpio
>sudo modprobe w1-therm

I'm not sure if this was a typo in the post - this is as listed in the article. Make sure this is correct and let me know if you are still having issues.

Sorry again for not being on here sooner.

Thanks
Ben
by bkibalo
Thu May 09, 2013 1:49 pm
Forum: General Discussion
Topic: How to find article links on the N/V home page?
Replies: 3
Views: 1379

Re: How to find article links on the N/V home page?

The downloads can be found here:

http://www.nutsvolts.com/index.php?/mag ... 013_Kibalo


Let me know if you have any issues and I'll give you a link to another site.
by bkibalo
Thu May 09, 2013 1:44 pm
Forum: Nuts & Volts Magazine Discussions
Topic: Raspberry Pi-Python-rpi.gpio
Replies: 20
Views: 8295

Re: Raspberry Pi-Python-rpi.gpio

Jerry,

Sorry for not getting on here sooner. Seems like you have gotten the GPIO installed properly. The w1_bus_master1 is a directory, open that up and the serial number folder to access your devices should be in there.

I'll check back and see if that worked for you.

Thanks
Ben