Components and supplies
Single Turn Potentiometer- 10k ohms
Resistor 10k ohm
Arduino UNO
Pushbutton switch 12mm
Alphanumeric LCD, 16 x 2
Resistor 220 ohm
Project description
Code
Code for Arduino
arduino
This code allows the clock to constantly count seconds while allowing you to press buttons to change the hour or the minute.
Code for Arduino
arduino
This code allows the clock to constantly count seconds while allowing you to press buttons to change the hour or the minute.
Downloadable files
Replace the tilt sensor in project 11 with the switch from project 9
Looking at the code, the way the button works in project 9 will allow you to use a switch, for this project the switch will adjust hour and minutes.
Replace the tilt sensor in project 11 with the switch from project 9
Use project 9 and 11 from projects book
Use project 9 and 11 from projects book
Replace the tilt sensor in project 11 with the switch from project 9
Looking at the code, the way the button works in project 9 will allow you to use a switch, for this project the switch will adjust hour and minutes.
Replace the tilt sensor in project 11 with the switch from project 9
Comments
Only logged in users can leave comments
jackycppp
0 Followers
•0 Projects
0