SwitchCase program for MSOE EE2905. A photoresistor is set up in a voltage divider with a 10k resistor, and the resistor voltage is read as an analog input. A switch/case statement categorizes the reading as dark, dim, medium, or bright and prints the result to the serial monitor.
Dependencies: mbed
Fork of switchCase by