View previous topic :: View next topic |
Author |
Message |
fmeira76
Joined: 17 Mar 2018 Posts: 2 Location: Brazil
|
Clock with pic18f4550 |
Posted: Sat Mar 17, 2018 8:24 pm |
|
|
Hello, i'm trying to implement a code from a clock using a pic 18f4550 from a kit (acepro 3.0). I already have a part of the code almost ready, I would like to know a way to implement the function that adjusts the clock hours, I can not do this. please, help! |
|
|
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
|
|
|
fmeira76
Joined: 17 Mar 2018 Posts: 2 Location: Brazil
|
|
Posted: Sun Mar 18, 2018 7:34 am |
|
|
i'd like to implement three buttons, one called "adjust button"(to active the adjust function), and other two to adjust the dozen and units of my clock parameters |
|
|
temtronic
Joined: 01 Jul 2010 Posts: 9228 Location: Greensville,Ontario
|
|
Posted: Sun Mar 18, 2018 8:35 am |
|
|
If you're clever or cheap, you can use just ONE button to adjust the time on a clock. It only requires the PB to be on an external interrupt pin. I do this for my single digit LED clock.
Jay |
|
|
|