Code for an Arduino microcontroller to open and close a box's lid depending the input from a photocell and an ultrasonic rangefinder.