## Search found 42 matches

Tue Apr 16, 2013 3:28 pm
Forum: General discussion
Topic: Useful software and tricks for the Pi
Replies: 0
Views: 1267

### Useful software and tricks for the Pi

Hi all, Pre Pi I had a pentium 2 laptop i played with, and i used http://kmandla.wordpress.com/ as a useful resource to help me hack together a low-power, console-based distro. Look around it has a ton of neat tricks Then I checked back today, to find he has a new blog with a similar aim; things lik...
Mon Dec 17, 2012 5:55 pm
Forum: Python
Topic: Place value + value of letters
Replies: 7
Views: 1528

### Re: Place value + value of letters

Thanks a lot! yes the input 00 was an experiment to see if I could end the loop like that (before, I had it break on an empty space) I see what you mean about the switch too: but I was going for ease-of-thinking rather than efficiency. now to tinker on quick sort.... ( a bit more challenging methinks)
Mon Dec 17, 2012 4:47 pm
Forum: Python
Topic: Place value + value of letters
Replies: 7
Views: 1528

### Re: Place value + value of letters

Ok so having read your post I abandoned the idea of supporting non-number inputs. To fix my code I changed the raw_input() to input() (code below) which seems to have changed the variable type in my list. here is my (messy) code: list_in=[] iterations = 1 inputs=0 print "how many numbers do you want...
Sun Dec 16, 2012 9:24 pm
Forum: Python
Topic: Place value + value of letters
Replies: 7
Views: 1528

### Place value + value of letters

Hi all, I have written a simple program which sorts a list of numbers and/or letters. BUT! number 233 for example, will come before 3, due to the leading 2. A similar thing happens with words. I have used a simple number1 > number2 line to see which of a pair is bigger. My question is: how may I add...
Sun Sep 02, 2012 7:33 am
Forum: Python
Topic: best way to go about creating variables?
Replies: 6
Views: 1344

### Re: best way to go about creating variables?

Well just how much slower would sequence be?

Otherwise (is this a doubly linked list?) it may be easier to have one list for going up from cell 0 and one for going down from 0. This will actually probably be the way I do it as then I don't need to mess around with negative numbers too much
Sat Sep 01, 2012 9:26 pm
Forum: Python
Topic: best way to go about creating variables?
Replies: 6
Views: 1344

### Re: best way to go about creating variables?

Well it would need to grow in both directions.

And I didn't say above but I am very new to python and programming in general so thanks for the info on append.

Is the thing you suggested part of lists?
Sat Sep 01, 2012 8:06 pm
Forum: Python
Topic: best way to go about creating variables?
Replies: 6
Views: 1344

### best way to go about creating variables?

i want to make a simple turing machine simulator in python for practice. i understand how to pull it together, but i do not know the best way to go about the tape. obviously a list or dictionary of {a:0, b:0, c:0.........} is completely out of the question, and i imagine a poor solution as it limits...
Mon Aug 27, 2012 12:24 pm
Forum: Python
Topic: Anything wrong with this (GPIO) code?
Replies: 3
Views: 1022

### Re: Anything wrong with this (GPIO) code?

Thanks for the help!

It didn't fix my problem; but it is a much better way of doing what I was doing ( the purpose of my project is learn about programming and hardware : I am a complete nub)
Mon Aug 27, 2012 10:32 am
Forum: Python
Topic: Anything wrong with this (GPIO) code?
Replies: 3
Views: 1022

### Anything wrong with this (GPIO) code?

Hi all, Currently doing a project that needs 9 inputs and 20 outputs: I shifted the outputs successfully, and I am playing with trying to shift in 8 inputs using a 74hct166N parallel to serial. I will post the code here first I suppose: Pin 15 is the Clock signal to the chip Pin 16 is the input to t...
Sun Aug 05, 2012 2:16 pm
Forum: Python
Topic: GPIO 0.3.1a behavior strange
Replies: 6
Views: 1519

### Re: GPIO 0.3.1a behavior strange

Ah: thanks for that

I didnt think of that when i simplified the code down
Sat Aug 04, 2012 10:45 pm
Forum: Python
Topic: GPIO 0.3.1a behavior strange
Replies: 6
Views: 1519

### Re: GPIO 0.3.1a behavior strange

Sorry: I may be being thick but as I see it I've simply made a loop and told it to print the current state of pin 11.

Why is GPIO.input(11) the same as True?

Plus this still doesn't address the underlying issues with the library I am having
Sat Aug 04, 2012 5:00 pm
Forum: Python
Topic: GPIO 0.3.1a behavior strange
Replies: 6
Views: 1519

### Re: GPIO 0.3.1a behavior strange

using 1 and 0 makes no difference: still back to front and no latching more importantly i can find no way to get inputs to work i did: GPIO.setup(11, GPIO.IN) input = GPIO.input(11) while 1<2: print input the idea being i can see when the thing is and isnt connected all that happens is it prints Tru...
Sat Aug 04, 2012 2:40 pm
Forum: Python
Topic: GPIO 0.3.1a behavior strange
Replies: 6
Views: 1519

### GPIO 0.3.1a behavior strange

Hi all. A while ago I started a project using the GPIO 0.2 library and was pleased as to how it worked. Now I amusing the Rasbian image on my pi with the newer GPIO python library and it's behaving rather oddly. To turn on an output, I have to do GPIO.output(12, GPIO.LOW) which seems the wrong way r...
Mon Jul 30, 2012 7:58 pm
Topic: Overclocking
Replies: 1125
Views: 659814

### Re: Overclocking

950 MHz seems to be the maximum without an over volt.
With overvolt6 I got to 1050 and any ram OC at all crashed

With my nice new heatsink, paste and diddly 5V fan I get 1100mhz, 500mhz ram and 350gpu (need to stress test the GPU and find the full maximum)
Mon Jul 30, 2012 2:10 pm
Topic: Overclocking
Replies: 1125
Views: 659814
It would appear I have the Pi of the Gods

Currently at
Arm 1100
GPU 350
Sdram 500

All with an over volt of 6.

The Arm_freq is the highest possible before bizarre errors
Still pushing the other 2 settings

Anyone have an idea the over volt will have on the life of the Pi?
Sun Jun 10, 2012 7:04 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: which GPIO pin numbers can i use?
Replies: 3
Views: 2346

### Re: which GPIO pin numbers can i use?

well not necessarily safe to use: if you were to use 4 it reboots the Pi!
Sun Jun 10, 2012 2:08 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: which GPIO pin numbers can i use?
Replies: 3
Views: 2346

### which GPIO pin numbers can i use?

hi all; i am writing a small python script, and currently i am using pin 11 only. obviously i would like to use as many as possible; but when i (accidently) connected pin 6 (0V) and pin 4 my pi rebooted. so: 1) does the python numberiing refer to the physical order of the pins 2) which numbers are s...
Sat Jun 09, 2012 9:41 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Replies: 2
Views: 1959

Turns out you need'nt spend a penny for breaking out the GPIO on the Pi: having looked at various ways of doing it it seems any P4 era computer can be opened up, a spare ribbon-cable found (ours was actually loose) and like magic one has a breakout cable! Just trim on end off (the one with the twist...
Mon Jun 04, 2012 7:03 pm
Forum: Raspberry Pi OS
Topic: No installable candidate/held broken
Replies: 4
Views: 2301

### Re: No installable candidate/held broken

TBH i wouldnt be surpised if most Power users start using directFB based programs (i wish there were more documentation; all i really want from X is a browser and there are basic webkit browsers for directfb which would be ideal with Screen-vs
Mon Jun 04, 2012 3:05 pm
Forum: Gentoo
Topic: Rasp-too?
Replies: 2
Views: 1842

### Re: Rasp-too?

Well; binaries optimized for the Raspberry Pi = useful performance gain
Not compiled ON Raspberry pi = faster install
No need to set up complex distanc = easier

And over other distro's, Gentoo's minimal nature should give some better performance/latency on the raspi
Mon Jun 04, 2012 2:35 pm
Forum: Gentoo
Topic: Rasp-too?
Replies: 2
Views: 1842

### Rasp-too?

Well; Rasbian is doing a good job of making a port of Debian to RPi; anyone up for making a fully optimized distro based on gentoo? It's not hard to chroot into a folder, edit make.conf and compile for the right architecture, but the hard work would be making a repo and build system for gentoo binar...
Sun Jun 03, 2012 8:01 pm
Forum: Raspberry Pi OS
Topic: No installable candidate/held broken
Replies: 4
Views: 2301

### Re: No installable candidate/held broken

If you can tell me exactly what to do I will happily tell you

Forgot about old ice weasel though..l
Sun Jun 03, 2012 7:22 pm
Forum: Raspberry Pi OS
Topic: No installable candidate/held broken
Replies: 4
Views: 2301

### No installable candidate/held broken

So, i am trying to install a browser capable of rendering the RPi site (midori=slow as hell, dillo thinks its being redirected). Sudo apt-get install opera or firefox says there is no installable candidate, whereas chromium browser says it depends on chromium >=10. how can i fix this? i only have a ...
Sun Jun 03, 2012 6:10 pm
Forum: General discussion
Topic: Quake 3 Arena at 60 FPS
Replies: 89
Views: 54600

### Re: Quake 3 Arena at 60 FPS

just to confirm: the extra FPS is just for Benchmark purposes?

because on any system, the fps is optimal when it matches the rate the monitor is refreshing (often 60Hz)
so you wont gain anything from the extra FPS
Sun Jun 03, 2012 9:06 am
Topic: Overclocking
Replies: 1125
Views: 659814

Ok thanks Dom