simple motion sensor

surge:
ok?

I would recommend against using pin 1 as it is also used in Serial communication and you should avoid messing with it unless you're running out of pins, but otherwise, it's a good start.