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 Sheila Ross

Download repository: zip gz

Files at revision 0:02e1b8007e48

Name Size Actions
[up]
main.cpp 2075 Revisions Annotate
mbed.bld 65 Revisions Annotate