Initial commit - version with search mode only
removed unused modes and variables
add code for accelerometer
add fields for accelerator data; use RunningAverage class from arduino 'playground'
read and log acceleration
eliminate unused 'mode' feature
added logic to increase speed on contact; but avoid doing so immediately after turning or loss of contact
randomize turn duration and stop before reverse
redo loop count after turning to better support multiple forward speeds
use function to set forward speed based on multiple conditions
make TURN_DURATION the average turn duration
bug fixes and minor improvements
reduce full speed loop limit to 24 - approx 0.6 second
reimplemented timing conditions using millis instead of counting loops
read milliseconds once per loop
more tweaks
modified randomized turn duration to allow turns > 180 degrees
use enum to set forward speed; eliminate contact_lost time not needed
comment unused accumulators
re-enable 'charge' on contact'