Embedded Systems
Spring 2024
Quiz 3
Name: Mason
Brady Email:
mrbrady1@fortlewis.edu
Quiz 3:
I wrote the code so that the timer would only increment when the button
up was pressed and it would reset when button down was pressed. I
considered using a toggle or the debounce but both just added
complexity with no benefit that I saw. The button worked just fine even
without the debounce. If you had worse buttons the debounce is
necessary. The code is pasted below.