Go to advanced search

by D.E.L.B.
Fri Jul 27, 2012 5:47 am
Forum: Python
Topic: Could someone run through this code with me?
Replies: 23
Views: 3182

Could someone run through this code with me?

In the magazine: "The Mag Pi", there is a code in which there is a "Bat and Ball" game and of which some of the codes aren't explained. I get the parts of where they are commented, but what I don't get it the ones that are in [], ad well as things like (size [0]/2]) ... etcetera. Here is the code: #...
by D.E.L.B.
Tue Jul 24, 2012 3:35 pm
Forum: Troubleshooting
Topic: Memory card recognised on the Pi, not on PC
Replies: 28
Views: 3718

Re: Memory card recognised on the Pi, not on PC

RaTTuS wrote:the old reader failing possibly
Jeez, I only bought it two months ago. Pity I can't get my money back now either.
by D.E.L.B.
Tue Jul 24, 2012 3:32 pm
Forum: Troubleshooting
Topic: Memory card recognised on the Pi, not on PC
Replies: 28
Views: 3718

Re: Memory card recognised on the Pi, not on PC

Very weird, I bought a card reader from Poundland and it reads the SC card now.

So what could the problem be? A faulty memory card? Because that's very strange since 2 SD cards can be detected on the "old" memory card reader.
by D.E.L.B.
Tue Jul 24, 2012 9:28 am
Forum: Troubleshooting
Topic: Memory card recognised on the Pi, not on PC
Replies: 28
Views: 3718

Re: Memory card recognised on the Pi, not on PC

I could try that, but the problem is how can I do it when the Pi is using the SD card to run? The way I backed up on Windows was with Windows 32 Disk IMager, but that needs the SD Card to be detected for that to do anything. When I said 'Linux' I was thinking of a PC not the RPi. I think the earlie...
by D.E.L.B.
Tue Jul 24, 2012 9:06 am
Forum: Troubleshooting
Topic: Memory card recognised on the Pi, not on PC
Replies: 28
Views: 3718

Re: Memory card recognised on the Pi, not on PC

No, trying to get the SD card that runs Debian to read on my Windows PC to back it up :D. Only the /boot directory will be visible on a Windows PC. All the other directories are in a different partition which uses a file system that Windows does not understand. You may be able to backup the entire ...
by D.E.L.B.
Tue Jul 24, 2012 8:43 am
Forum: Troubleshooting
Topic: Memory card recognised on the Pi, not on PC
Replies: 28
Views: 3718

Re: Memory card recognised on the Pi, not on PC

No, trying to get the SD card that runs Debian to read on my Windows PC to back it up :D.
by D.E.L.B.
Tue Jul 24, 2012 8:31 am
Forum: Troubleshooting
Topic: Memory card recognised on the Pi, not on PC
Replies: 28
Views: 3718

Re: Memory card recognised on the Pi, not on PC

RaTTuS wrote:are you in the UK?
in poundland they have small USB SDcard readers for umm £1 which work fine.
Yes, I live in the UK. I'll have a look later today.

Thanks.
by D.E.L.B.
Tue Jul 24, 2012 8:20 am
Forum: Troubleshooting
Topic: Memory card recognised on the Pi, not on PC
Replies: 28
Views: 3718

Re: Memory card recognised on the Pi, not on PC

what sort of sd card reader on the PC? and what sort of PC try the SD card in the slot when you boot the PC is the SDcard reader connected to the innards of the PC [I know I know but I've had this myself] other things to try open settings | control panel |computer management | adminitrive tools | d...
by D.E.L.B.
Tue Jul 24, 2012 6:03 am
Forum: Troubleshooting
Topic: Memory card recognised on the Pi, not on PC
Replies: 28
Views: 3718

Re: Memory card recognised on the Pi, not on PC

Nothing, it's not even an error. It just says "please insert disk into Drive G:\" or whatever. It works with my other 1GB and 16GB card, but this 8GB card that I've used with the Pi has definitely worked, but now it doesn't. Ninja Edit: Let me rephrase, the 8GB card does work with the Raspberry Pi, ...
by D.E.L.B.
Tue Jul 24, 2012 5:42 am
Forum: Troubleshooting
Topic: Memory card recognised on the Pi, not on PC
Replies: 28
Views: 3718

Re: Memory card recognised on the Pi, not on PC

Try using a Linux LiveCD and see if the LiveCD picks it up? Also check the disk management on windows to see if it is actually picking it up but not assigning a drive letter. It's assigning a drive letter, but when I put the SD card, it refuses to read it. I'll try a LiveCD as well, but would there...
by D.E.L.B.
Tue Jul 24, 2012 4:10 am
Forum: Troubleshooting
Topic: Memory card recognised on the Pi, not on PC
Replies: 28
Views: 3718

Memory card recognised on the Pi, not on PC

Hey, It's a peculiar situation to be honest, all of my data which is on the SD card is recognised with the Raspberry Pi, as in the data boots up on it. But when I connect my SD card to my PC, the SD card is not being recognised at all. I've tried other SD cards and they're working fine, but the only...
by D.E.L.B.
Sat Jul 21, 2012 11:26 pm
Forum: Python
Topic: What's the difference between "=" and "=="?
Replies: 18
Views: 3317

Re: What's the difference between "=" and "=="?

So what about this code? http://dl.dropbox.com/u/30557697/RaspberryPiTutorials/PiSnake-ScoreCounter.zip When could somebody explain why the == is needed in some areas? If you could pinpoint these out then I'm sure I will really get it sunk into my mind when it is explained with this code, right now ...
by D.E.L.B.
Sat Jul 21, 2012 7:09 pm
Forum: Python
Topic: What's the difference between "=" and "=="?
Replies: 18
Views: 3317

Re: What's the difference between "=" and "=="?

Thanks very much.

Why the brackets? This is for JonB or anyone able to answer that question.
by D.E.L.B.
Sat Jul 21, 2012 7:03 pm
Forum: Python
Topic: Don't get this part of the code...
Replies: 4
Views: 1528

Re: Don't get this part of the code...

Just as I expected.

Thank you very much.
by D.E.L.B.
Fri Jul 20, 2012 2:37 pm
Forum: Python
Topic: Don't get this part of the code...
Replies: 4
Views: 1528

Don't get this part of the code...

If you take a look at this code with the provided link below, then I will then pinpoint out what the problem is: http://dl.dropbox.com/u/30557697/RaspberryPiTutorials/PiSnake-MovingSnake.zip def update(self): '''Update each snake part''' '''Set the new direction to our new direction''' newDirection ...
by D.E.L.B.
Thu Jul 19, 2012 12:55 pm
Forum: Python
Topic: What's the difference between "=" and "=="?
Replies: 18
Views: 3317

Re: What's the difference between "=" and "=="?

Pretty much already been said, but there's a slight correction needs to be made to redman's post: a = 100 if a == 0 then .. (will be false) if a == 100 then ... (will be true) if a = 50 then .. (may return true and a is set to 50) It's all good apart from that last line. In python, if you use the '...
by D.E.L.B.
Thu Jul 19, 2012 8:25 am
Forum: Python
Topic: What's the difference between "=" and "=="?
Replies: 18
Views: 3317

What's the difference between "=" and "=="?

What is the difference between both of those equals in Python?
by D.E.L.B.
Mon Jul 09, 2012 10:49 pm
Forum: Beginners
Topic: What does this line mean?
Replies: 10
Views: 2232

Re: What does this line mean?

Brilliant.

Everything seems to work now, and thanks rurwin a lot! A very informative and detailed post on how you found it all out.
by D.E.L.B.
Mon Jul 09, 2012 9:29 pm
Forum: Advanced users
Topic: Overclocking
Replies: 1125
Views: 620498

Re: Overclocking

Does anyone have the best settings that work with Quake III?
by D.E.L.B.
Sun Jul 08, 2012 11:05 pm
Forum: Beginners
Topic: VNC Server to Boot on Logged In User
Replies: 15
Views: 7335

Re: VNC Server to Boot on Logged In User

Only just noticed, if you don't want lxterminal to boot when connecting to the Raspberry Pi desktop on launch, remove the "lxterminal &" from:

Code: Select all

#!/bin/sh
xrdb $HOME/.Xresources
xsetroot -solid black
lxterminal &
/usr/bin/lxsession -s LXDE &
by D.E.L.B.
Sun Jul 08, 2012 10:05 pm
Forum: Beginners
Topic: VNC Server to Boot on Logged In User
Replies: 15
Views: 7335

Re: VNC Server to Boot on Logged In User

Very much a beginner here but I got this to work just following the steps on the penguin tutor website. Note I think there is one error with the startup script that creates the script vncserver - Line 4 where he lists his web address. #!/bin/sh # /etc/init.d/tightvncserver # Customised by Stewart W...
by D.E.L.B.
Sun Jul 08, 2012 4:29 pm
Forum: Troubleshooting
Topic: White line across top of LXDE environment
Replies: 6
Views: 1063

Re: White line across top of LXDE environment

Heh, seemed to have fixed it by just messing around not knowing what to do, just clicked around like mad until it occurred to me that maybe it was Openbox that was the problem. Right clicked on the top where the white line was, and clicked "Delete this panel," and it went away. So if anyone has this...
by D.E.L.B.
Sun Jul 08, 2012 3:42 pm
Forum: Beginners
Topic: How can I Backup my SD Card?
Replies: 1
Views: 1535

Re: How can I Backup my SD Card?

I take it you have win32diskimager? You simply put the card into a memory reader, select the drive that the card reader is in, click "Read" which means write from the SD card to an image file on the computer, select where you want the ISO to go by clicking on the folder icon, name it. Click save. Th...
by D.E.L.B.
Sun Jul 08, 2012 3:08 pm
Forum: Troubleshooting
Topic: White line across top of LXDE environment
Replies: 6
Views: 1063

Re: White line across top of LXDE environment

That's odd, when I login to it via my user that I created, and with sudo su. The white line goes, but without sudo su it has the white line. :O. Bare in mind I also have VNCServer installed, check the thread here to see what's done and maybe you or someone can find out the problem: http://www.raspbe...
by D.E.L.B.
Sun Jul 08, 2012 2:52 pm
Forum: Troubleshooting
Topic: White line across top of LXDE environment
Replies: 6
Views: 1063

Re: White line across top of LXDE environment

Only in LXDE.

Go to advanced search