Go to advanced search

by raspytongue
Sun Apr 21, 2013 6:22 pm
Forum: Staffroom, classroom and projects
Topic: Installing RPi.Gpio for python
Replies: 27
Views: 34686

Re: Installing RPi.Gpio for python

I came up with a simple way of changing code in a nano box. I just copied and pasted new code into the box, and when saving it, got message if I wanted to overwrite. Y will then overwrite the older code. Not sure if this is the accepted way, but worked for me.
by raspytongue
Fri Apr 19, 2013 5:07 am
Forum: Staffroom, classroom and projects
Topic: Installing RPi.Gpio for python
Replies: 27
Views: 34686

Re: Installing RPi.Gpio for python

Got it! Followed your useful instructions, and got the motor working first time. Easy-peasy when you know how. Now I am having probs editing the nano text file. I really want to delete all of it, and copy in more code tweaking the variables to increase motor speed. There is a guide at the bottom of ...
by raspytongue
Thu Apr 18, 2013 10:10 am
Forum: Staffroom, classroom and projects
Topic: Installing RPi.Gpio for python
Replies: 27
Views: 34686

Re: Installing RPi.Gpio for python

Thanks for all the ideas. I'm slowly getting it. Am I right in thinking that any GPIO code written directly to Terminal (on Mac) needs to be given a name, saved, then put in a named file, then referred to in the script before it can run? I hope I have got this right. My SD card already includes the ...
by raspytongue
Wed Apr 17, 2013 8:04 pm
Forum: Beginners
Topic: Help! Can't open or remove gz file
Replies: 2
Views: 499

Help! Can't open or remove gz file

I have managed to download the GPIO files twice, and the second tar.gz file is stuck, maybe stopping the original one from working properly. Any reference to GPIO is met with "command not found. I can't open it the gz file or delete it. Any help?
by raspytongue
Wed Apr 17, 2013 6:51 pm
Forum: Staffroom, classroom and projects
Topic: Installing RPi.Gpio for python
Replies: 27
Views: 34686

Re: Installing RPi.Gpio for python

Tried again, and acted on the three forward arrows this time: Python 2.7.3 (default, Jan 13 2013, 11:20:46) [GCC 4.6.3] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import RPi.GPIO as GPIO >>> Looks like yours, but nothing else. What should happen now? Return ...
by raspytongue
Wed Apr 17, 2013 3:54 pm
Forum: Staffroom, classroom and projects
Topic: Installing RPi.Gpio for python
Replies: 27
Views: 34686

Re: Installing RPi.Gpio for python

Well, I have the latest pre-installed SD image of Wheezy, which I think has Python by default. When I typed sudo python, it returned this pi@raspberrypi ~ $ sudo python Python 2.7.3 (default, Jan 13 2013, 11:20:46) [GCC 4.6.3] on linux2 Type "help", "copyright", "credits" or "license" for more infor...
by raspytongue
Sat Apr 13, 2013 8:58 pm
Forum: Beginners
Topic: SD card management
Replies: 1
Views: 453

SD card management

Hi, I have some questions about managing what is on the SD card. I have SSH using Terminal on a Mac. How can I see which programmes (if that is the right word) are currently installed on the SD card? How can I delete ones I no longer use, or which have previously been added? Is it possible to have t...

Go to advanced search