<div dir="ltr">James - Raspberry Pi running a motor, demo at Klug please.<div><br></div><div style>Nathan.</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sun, Oct 20, 2013 at 8:50 PM, Paul Lenton <span dir="ltr"><<a href="mailto:lentonp@gmail.com" target="_blank">lentonp@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">
Sorry, to clarify:<br>
<br>
Type "cd /home/pi/Desktop/Python\ programs" to make LXTerminal
understand that there's a space in the path.<br>
<br>
I was typing the reply on my phone and hit send before I meant to,
so thought I'd clarify =)<br>
<br>
Cheers<div><div class="h5"><br>
<div>On 20/10/13 20:45, james snyder wrote:<br>
</div>
</div></div><blockquote type="cite"><div><div class="h5"><br>
<div>
<div>
<div style="font-size:12pt;font-family:times new roman,new york,times,serif">
<div style="font-size:13px">Re: GPIO</div>
<br>
<div style="font-size:13px;background-color:transparent">Some
new students need help running a GPIO system on a model B
raspberry pi running Raspberian Linux, so I am forwarding
this message to our KLUG group mailing list on their
behalf....</div>
<div style="font-size:13px;background-color:transparent"><br>
</div>
<div style="font-size:13px;background-color:transparent">"We
have connected the motor and battery to the GPIO RPi . </div>
<div style="font-size:13px;background-color:transparent">We
have saved a Python program (developed using the Python
Shell) in : </div>
<div style="font-size:13px;background-color:transparent">/home/pi/Desktop/Python
programs</div>
<div style="font-size:13px;background-color:transparent">If
we click on: Python programs, we see the file: motor.py</div>
<div>
<br>
</div>
<div><span style="background-color:transparent">The problem is</span></div>
<div>
<span style="background-color:transparent"><br>
</span></div>
<div><span style="background-color:transparent">when we open
LXTerminal we type: </span><br>
</div>
<div style="font-size:13px;background-color:transparent">cd
/home/pi/Desktop/Python programs (is where our motor.py
is)</div>
<div style="font-size:13px;background-color:transparent">We get
the error message</div>
<div style="font-size:13px;background-color:transparent">"No
such file or directory"</div>
<div style="font-size:13px;background-color:transparent"><br>
</div>
<div><span style="background-color:transparent">We have formatted
another Raspberian SD Card from scratch.</span></div>
<div style="font-size:13px;background-color:transparent"><br>
</div>
<div>
In order to make our motor to work we need to use
LXTerminal to find a directory where we have saved our
file, and once we are <span style="background-color:transparent">in the directory
we have to run the command: sudo python motor.py
to start our motor but LXTerminal says "No such file""</span></div>
<div><span style="background-color:transparent"><br>
</span></div>
<div>
Without actually seeing the system, based on the above
log, any thoughts on what the problem is here?</div>
</div>
</div>
</div>
<br>
<br>
<br>
-- <br>
<div>James Snyder</div>
<div>Telephone: <a href="tel:%2B447914011154" value="+447914011154" target="_blank">+447914011154</a></div>
<div><a href="mailto:snyder.webmaster@googlemail.com" target="_blank">snyder.webmaster@googlemail.com</a></div>
<div>Skype Name: michael.james.snyder<br>
</div>
<br>
<br>
<fieldset></fieldset>
<br>
</div></div><div class="im"><pre>_______________________________________________
Kent mailing list
<a href="mailto:Kent@mailman.lug.org.uk" target="_blank">Kent@mailman.lug.org.uk</a>
<a href="https://mailman.lug.org.uk/mailman/listinfo/kent" target="_blank">https://mailman.lug.org.uk/mailman/listinfo/kent</a></pre>
</div></blockquote>
<br>
</div>
<br>_______________________________________________<br>
Kent mailing list<br>
<a href="mailto:Kent@mailman.lug.org.uk">Kent@mailman.lug.org.uk</a><br>
<a href="https://mailman.lug.org.uk/mailman/listinfo/kent" target="_blank">https://mailman.lug.org.uk/mailman/listinfo/kent</a><br></blockquote></div><br></div>