after letting my breadboard project sit on my desk for the past week or so i decided to try and finish up the project because all i had to do was finish up the firmware. to write the firmware what i did was figure out how to handle multiple buttons, then with those buttons i used an enum to be able to check or change what the alarm’s state was from set time, set alarm, ringing or normal. something i thought was going to be challenging was handling multiple buttons but it ended up being sort of similar to one button except now it just had an index to check for in the buttonstate and button pin.
now for next time i will will need to work on the display code once i actually get my hands on the components since all i had was my 3 pushbuttons, rotary encoder and buzzer to test with my arduino mega. i cannot wait to see how my pcb will look like irl!
Comments 0
No comments yet. Be the first!
Sign in to join the conversation.