Let's Make Robots!

BEAM tactile sensor

I'm really attracted by these antennae-shaped tactile sensors: http://letsmakerobots.com/node/7542

The problem is that I cannot figure out how to use 'em! I mean, how the contact between those sensors and an obstacle would cause an I/O pin to toggle?

 Thank you in advance for the hints you would give me.