garg29
Advanced Member level 1
Hi friends,
I have recently designed a digital clock with calendar using RTC
DS1302, 89c51 and LCD. The ciruit and program are working fine. Till
now i haven't included the switches to set the Date and Time. Now, my
problem is, how to check whether the user is setting proper date or
not, i.e. if the user sets 31st Feb the program should display "Invalid
Date", now for this whether i need to design a function or does DS1302
has some inbuilt function to do this.
With best regards,
Garg
I have recently designed a digital clock with calendar using RTC
DS1302, 89c51 and LCD. The ciruit and program are working fine. Till
now i haven't included the switches to set the Date and Time. Now, my
problem is, how to check whether the user is setting proper date or
not, i.e. if the user sets 31st Feb the program should display "Invalid
Date", now for this whether i need to design a function or does DS1302
has some inbuilt function to do this.
With best regards,
Garg