doubt in rtc

actually you did not edited the code properly.
you removed many things which were necessary for the clock. I am giving you one example...
In your code above there is a mistake..
... Read Compelte post
Other Tags: mov   rtc   r7   r6   wave generator   
Posted by ajay_bhargav on Mon Apr 30 2007, 12:59 am

HOW TO SET 5 DIFFERNET ALARMS IN THE DIGITAL CLOCK PGM

In the display RTC routine i am checking for the Alarm
PASS:	inc r1
	mov a,#0C7h
	acall command
	mov a,@r1
	mov 51h,@r1
	mov alarm_chk_min,@r1
	acall disp_val
PASS1:	inc r1
	mov a,#0c4h
	acall command
	mov a,@r1
	mov 52h,@r1
	mov alarm_chk_hour,@r1
	mov r4,a

here i am moving the current time to alarm_chk_hour and min registers so that i can use them while comparing.
... Read Compelte post
Other Tags: r1   mov   setb   chk   
Posted by ajay_bhargav on Fri Apr 27 2007, 12:37 pm

HOW TO SET 5 DIFFERNET ALARMS IN THE DIGITAL CLOCK PGM

setting alarm, this is just an example...

eg you create two variables, alarm_hr and alarm_min
alarm_hr will have the address where hr of the alarm is going to be stored and alarm_min will have the address where min of the alarm is going to be stored, so before calling the alarm set routine, you fill these variables with the addresses, where you want to store the alram.
say...
for alarm 1: hr is store... Read Compelte post
Other Tags: 24h   variables   alarm time   time is going   mov   
Posted by ajay_bhargav on Sun Apr 22 2007, 07:58 pm

Downloads

Comments

TicePex
Sun Dec 04 2022, 02:02 pm
QuaderiPex
Sat Dec 03 2022, 05:18 pm
Singexy
Fri Dec 02 2022, 12:46 am
HoraceIdior
Thu Dec 01 2022, 05:17 am
Robertpag
Wed Nov 30 2022, 03:55 pm
Irinker
Tue Nov 29 2022, 06:26 pm
Zijaina
Tue Nov 29 2022, 05:46 am
WilliamTup
Mon Nov 28 2022, 02:22 pm