Friday, September 5, 2014

How to use Interupts in the Raspberry Pi

Excellent.
Just found this.
Now we can do hardware interrupts with the raspberry Pi. A world better than polling.

http://raspi.tv/2013/how-to-use-interrupts-with-python-on-the-raspberry-pi-and-rpi-gpio

How to connect Raspberry Pi to Mac using ethernet cable

Just a note because I did this once, then tried again and could quite remember it.

The default IP address of the Pi is 192.168.2.2

The default IP address of a home network is in the range: 192.168.0.nnn.

Open the Network preferences and set the IP address, subnet mask and DNS server as shown below.



The Airport WiFi is unchanged on my range and the Pi can share the internet via the Mac.

I have done this on Snow Leopard and Maverick. All good. The same should work on Windows I should imagine.

Use Ping in a terminal console window to check the network connection.

ping 192.168.2.2