This is an example of how to program the Tilt sensor on the Wedo Lego kit.
You will need a Lego WeDo Kit in order to make this program work.