Go to advanced search

by Hove
Thu Nov 01, 2012 1:42 pm
Forum: Networking and servers
Topic: RPi to RPi TCP connection
Replies: 25
Views: 7282

Re: RPi to RPi TCP connection

Thanks, I was aware of the stable layer 2 MAC address, but had forgotten that it's the dhcp server (which is on my ADSL wireless router) that would do the IP address assignment - thanks for refreshing me. I'd considered host names also, but then the question becomes how do I assign a stable hostname...
by Hove
Thu Nov 01, 2012 11:13 am
Forum: Networking and servers
Topic: RPi to RPi TCP connection
Replies: 25
Views: 7282

RPi to RPi TCP connection

I want to set up a TCP connection between a couple of RPis in Python. It's not the code I'm struggling with, it's the assignment of IP addresses. Each RPi is assigned it's own IP address on boot time depending on the next free address in the LAN they are in. Typically these are 192.168.1.66 / 67. Wh...
by Hove
Sun Oct 28, 2012 5:20 pm
Forum: Python
Topic: Keyboard interrupts other than Ctrl-C
Replies: 5
Views: 3710

Re: Keyboard interrupts other than Ctrl-C

Cheers folks, Sorry it's taken me so long to reply - I forgot to tag my post for updates, so I kinda lost it for a while. I am after asynchonous interrupts, and was hoping to do so to avoid additional threads (to keep excess overload to a minimum). Seems like I have no choice unless I look at what p...
by Hove
Sun Oct 28, 2012 5:15 pm
Forum: Beginners
Topic: How to tell 512MB is actually being used?
Replies: 1
Views: 920

How to tell 512MB is actually being used?

Daft question I know but... Having installed the net firmware, added gpu_mem_512=128 in /boot/config.txt, rebooted, how do I see that I have 512MB in use, 384 to CPU, 128 to GPU. While I've found many threads about upgrading firmware etc, all assume that said incantations result in 512MB in use with...
by Hove
Sun Oct 21, 2012 6:58 pm
Forum: Python
Topic: Keyboard interrupts other than Ctrl-C
Replies: 5
Views: 3710

Keyboard interrupts other than Ctrl-C

My Python 2.7 script (on Raspberry Pi Debian Wheezy 18-9-2012) runs a couple of stepper motors synchronously via the GPIO port. I currently have a signal handler in place for Ctrl-C to clean up tidily before exit. I'd now like to extend that method such that keyboard inputs could also generate SIGUS...

Go to advanced search