aboutsummaryrefslogtreecommitdiff
path: root/variants/eightanaloginputs
diff options
context:
space:
mode:
authorZach Eveland <zeveland@blacklabel-development.com>2011-12-31 12:19:08 -0500
committerZach Eveland <zeveland@blacklabel-development.com>2011-12-31 12:19:08 -0500
commit28e9e122af24e63e84d5bcd2c619b76c490970fc (patch)
tree7174e8418fc8e6658bc7e2b260d0096d607803b3 /variants/eightanaloginputs
parentcbce8ed4bf330973a999220dd11444b6d1181d53 (diff)
reset the Leonardo board when leaving the bootloader, before starting the sketch
Done so all IO and other registers are properly reinitialized when a new sketch is uploaded or when an existing sketch is started. Uses a watchdog timeout with a 15 ms period to accomplish the reset. Bootloader checks the reason for reset and only enumerates as bootloader and enters the programming loop if reset was NOT caused by WDT.
Diffstat (limited to 'variants/eightanaloginputs')
0 files changed, 0 insertions, 0 deletions