automatic room light controller with visitor counter

ok... setting up the timer is very simple. putting value in register is same like moving value to a variable. you can open the file you included "AT89X51.H" and see how the registers have defined in it.
so timer can be set like this way...
TMOD = 0x20; // timer mode setting
TH1 = 20; // put value in Timer 1 high byte
TL1 = 3; // put value in Time 1 low byte
TR1 = 1; // run the timer

this way you can ... Read Compelte post
Posted by ajay_bhargav on Wed Jul 25 2007, 02:49 pm

Downloads

Comments

Eugenehew
Sat Dec 10 2022, 02:26 pm
RoscoeFut
Sat Dec 10 2022, 01:50 am
XeErafe
Fri Dec 09 2022, 09:42 am
lnCar
Thu Dec 08 2022, 12:03 am
JordanPruff
Wed Dec 07 2022, 06:13 pm
Tomnuabs
Wed Dec 07 2022, 07:51 am
Charleshek
Tue Dec 06 2022, 09:28 pm
TicePex
Sun Dec 04 2022, 02:02 pm