Turning off the Vex Controller in code

Is there a way to shut off the power of the microcontroller with a light sensor? (You know- to dark so it shuts down)

No. There is no way to turn the Vex Microcontroller “OFF” via software using any type of sensor or switch.