Go to advanced search

by BlaiseP
Mon Sep 07, 2015 9:39 pm
Forum: Nederlands
Topic: Eindwerk
Replies: 2
Views: 610

Re: Eindwerk

Ja, dat kan, maar ik zou geen stappenmotoren gebruiken maar 2 servo´s Zoiets; http://thumbs2.ebaystatic.com/m/mAshBKGwtv30vF33a724HXw/140.jpg Dan een HTTP/webserver zoals Apache op je Raspi installeren en een GPIO besturingsbibliotheek zoals GPIOD , dan een Python programma schrijven om de servo´s a...
by BlaiseP
Mon Sep 07, 2015 8:46 pm
Forum: Nederlands
Topic: static adress voor ethernet en Wlan
Replies: 7
Views: 1178

Re: static adress voor ethernet en Wlan

Je moet ook in je router aangeven dat het IP adres voor de Pi steeds hetzelfde is. In mijn geval, een Speedtouch modem/router, kan ik aangeven " Always use the same address: Yes " Eerst kijken welke IPadressen de router aan je Pi gegeven heeft, b.v met ipconfig , en dan die adressen in het interface...
by BlaiseP
Mon Sep 07, 2015 8:24 pm
Forum: Python
Topic: SMTP email Errno 13 Permission denied
Replies: 3
Views: 1238

Re: SMTP email Errno 13 Permission denied

The email.py script is in home/pi/www ( ~/www/email.py ) There already was a file ~/www/email.pyc, I deleted it and compiled again, now I did not get any compile errors (' Compilation finished successfully. ') :) but if I run the program I now get File "/var/www/email.py", Line 15, in <module> exce...
by BlaiseP
Mon Sep 07, 2015 8:00 pm
Forum: Python
Topic: SMTP email Errno 13 Permission denied
Replies: 3
Views: 1238

Re: SMTP email Errno 13 Permission denied

The email.py script is in home/pi/www ( ~/www/email.py ), yes I can create a file there, without using sudo. The 4 last error lines are ; ... File "/usr/lib/pyton2.7/py_compile.py", line 123, in compile with open(cfile,'wb') as fc: IOError: [Errno 13] Permission denied: 'email.pyc' Compilation faile...
by BlaiseP
Mon Sep 07, 2015 4:11 pm
Forum: Python
Topic: SMTP email Errno 13 Permission denied
Replies: 3
Views: 1238

SMTP email Errno 13 Permission denied

I copied this SMTP/ email.py program out of the Python manual into the Geany IDE; #!/usr/bin/env python import smtplib sender = '[email protected].com' receivers = '[email protected].com' message = (""" Raspi e-mail test -- Pi """) try: smtpObj = smtplib.SMTP('smtp.gmail.com',25) smtpObj.sendmail(sender,receivers,mess...
by BlaiseP
Mon Sep 07, 2015 12:57 pm
Forum: Python
Topic: Sending data to HTTP Server
Replies: 7
Views: 27310

Re: Sending data to HTTP Server

Install the Apache webserver on your Raspi at school. Install GPIOD on your Raspi at school, see http://abyz.co.uk/rpi/pigpio/python.html Write a Python script e.g. "dBsound.py" to read the GPIO pin where your sensor is connected and to return a html webpage with that value, printing a page with a f...
by BlaiseP
Tue Feb 10, 2015 10:38 pm
Forum: Troubleshooting
Topic: problem installing Lazarus
Replies: 9
Views: 3054

Re: problem installing Lazarus

I tried
http://www.raspberrypi.org/forums/viewt ... 48&t=88145
first but no success...this worked, thanks.
by BlaiseP
Tue Feb 10, 2015 9:24 pm
Forum: Other programming languages
Topic: can't install fpc and lazarus on raspberypi
Replies: 18
Views: 15207

Re: can't install fpc and lazarus on raspberypi

Just installed Debian Wheezy version 2015-01-31 on my Pi, no problem. Then tried to install FPC and Lazarus and got the same errors as mentioned in the first post. Found and opened the /etc/apt/sources.list file with the Leafpad editor and added the line deb http://plugwash.raspbian.org/wsf wheezy-w...

Go to advanced search