Hi Everyone,
I wrote a CODE for RTC on UART1. I am able to get output. But I am looking for enhancement of it.
Output Which I am getting is :
****** HOUR::MIN::SEC********** 12::49::10
****** HOUR::MIN::SEC********** 12::49::11
****** HOUR::MIN::SEC********** 12::49::12
****** HOUR::MIN::SEC********** 12::49::13
I want it to be different
****** HOUR::MIN::SEC********** 12::49::10 is OK
But again if sec=11 then its should overwrite it ****** HOUR::MIN::SEC********** 12::49::11
But again if sec=12 then its should overwrite it ****** HOUR::MIN::SEC********** 12::49::12
This change or counter in second should not go into another line again update it.
It should replace the previous value and this should happen in Min,hour,year,days,months too.
Output should be in single line and should in single line itself on counter increment of values of sec,min,hour etc.
Hour::Min::Sec DOM/MON/YEAR (no Repeated Line, Update should take place at corresponding place)
Please suggest and Dont mind ,if some silly question is made here, as I am BEGINNER
Thanks and Regards
Vinay. Kumar