exit 1
fi
-VERSION=2.0
+VERSION=4.0
REPO=~/altusmetrumllc/Binaries
PRODUCT=TeleMega
echo "$PRODUCT v$VERSION Turn-On and Calibration Program"
-echo "Copyright 2014 by Bdale Garbee. Released under GPL v2"
+echo "Copyright 2020 by Bdale Garbee. Released under GPL v3"
echo
echo "Expectations:"
echo "\t$PRODUCT v$VERSION powered from USB"
$FLASH_STM $REPO/loaders/telemega-v$VERSION*.elf
-sleep 5
+sleep 3
$USBLOAD --serial=$SERIAL --force $REPO/telemega-v$VERSION*.elf || exit 1