change max bad reading from switch to elapsed time
update readme