Nestbox bird entry/exit logger

Well I received my arduino today, but not the logging shield. I did however test the sensor bit of code. I increased the delay time to 200, got rid of the abs() function and dropped the threshold down to 10 and it worked pretty well. Once I get the logger shield I'll deploy it outside on a nest box and hopefully things will go well.