| Author |
Message |
|
|
Posted: Feb 20, 2011 - 10:11 AM |
|

Joined: Feb 20, 2011
Posts: 3
|
|
| Please help me to display RTC on LCD using ATMega128? Following are the attachments of my code with header and source files. |
|
|
| |
|
|
|
|
|
Posted: Feb 20, 2011 - 11:22 AM |
|

Joined: Dec 30, 2004
Posts: 8764
Location: Melbourne,Australia
|
|
Dont put code in header files!
What do you want help with? You've got code for the lcd and rtc, so what is the problem? What works and what doesn't? |
|
|
| |
|
|
|
|
|
Posted: Feb 20, 2011 - 12:29 PM |
|


Joined: Mar 27, 2002
Posts: 18545
Location: Lund, Sweden
|
|
| We seem to have somewhat of an influx recently of questions re basic applications on ATmega128. My guess is that some school/uni has started their embedded course using e.g. Olimex AVR-MT-128 boards.. |
|
|
| |
|
|
|
|
|
Posted: Feb 21, 2011 - 04:02 AM |
|

Joined: Feb 20, 2011
Posts: 3
|
|
its just that the seconds part is not incrementing properly.. output for seconds shows :
1 1 2 2 3 3 4 4 5 5 and then in between minutes part increments!!
 |
|
|
| |
|
|
|
|
|
Posted: Feb 21, 2011 - 04:08 AM |
|


Joined: Sep 04, 2002
Posts: 21257
Location: Orlando Florida
|
|
| That's how they do digital clock displays in Elbonia. If you want the minutes and seconds to always display in the same location, you might try doing a "cursor positioning" command before sending the time string? |
_________________ Imagecraft compiler user
|
| |
|
|
|
|
|
Posted: Feb 21, 2011 - 04:10 AM |
|

Joined: Feb 20, 2011
Posts: 3
|
|
| i hav even tried tht!! adjusting cursor position, inserting colon in between.. bt problem is only wit incrementing part.. |
|
|
| |
|
|
|
|
|