??? 11/26/04 09:49 Read: times |
#81998 - minor suggestion Responding to: ???'s previous message |
hi,
I see in your code MOV TH0,#0F8H MOV TL0,#30HThe suggestion is: stop timer before reload new values into it. I see SETB TR0 many times but no CLR TR0. Another way (not good but possible in your case): load low value before high, i.e. exchange placement of these lines. As about main problem: you should provide us what does not work with the program? Simple "but the program seems to work unproperly" is hot helpful. Regards, Oleg |
Topic | Author | Date |
about wiegand26 receive | 01/01/70 00:00 | |
no need to use timer here | 01/01/70 00:00 | |
the program i listed is a subroutine. | 01/01/70 00:00 | |
Feng Shui | 01/01/70 00:00 | |
no time to look at | 01/01/70 00:00 | |
now i past the progarm with comment. | 01/01/70 00:00 | |
minor suggestion | 01/01/70 00:00 | |
CLR TR0 is in t0 interrupt subroutine | 01/01/70 00:00 | |
The Odd Bit | 01/01/70 00:00 | |
wait for the odd bit! | 01/01/70 00:00 | |
Sorry, my fault![]() | 01/01/70 00:00 |