# boot.py -- runs on boot-up
# Let's you choose which script to run.
# > To run 'datalogger.py':
# * press reset and do nothing else
# > To run 'cardreader.py':
# * press reset
# * press user switch and hold until orange LED goes out
# indicate we are waiting for switch press
# wait for user to maybe press the switch
= # sample the switch at end of delay
# indicate that we finished waiting for the switch
# indicate that we are selecting the mode
# if switch was pressed, run this
# if switch wasn't pressed, run this
# indicate that we finished selecting the mode