??? 11/22/09 14:49 Read: times |
#171034 - Erik & Richard Responding to: ???'s previous message |
Sorry that my code is low on comments. Please here me out here. I am using 80C51 at 11.0592MHz.
While putting in comments i saw one error that might be preventing my code from working. I have used the timer interrupt 0. Now my timer will count from 0000h to 2400h as it is in 16 bit mode. What i want is that i should get an output pulse from pin 1.2. What i want is that the output pulse should occur at the value that i put in ie say at values 00FFh, 01FFh, 14FFh or 23FFh etc. can you please suggest method that how can i do so. AS far as i know that the micro-controller jumps into the ISR only when the flag is raised. Then where should i put in the code that compares the values of TH0 and TL0 with the values of the "set_point_L" & "set_point_H" that i will send to the micro-controller please help me on this point and i think i will check my code on the hardware and get back to you guys with the result and the code along with the complete comments. |
Topic | Author | Date |
Intensity control | 01/01/70 00:00 | |
show some CODE | 01/01/70 00:00 | |
Dear Erik | 01/01/70 00:00 | |
where are the comments? | 01/01/70 00:00 | |
We can't read your mind | 01/01/70 00:00 | |
Erik & Richard | 01/01/70 00:00 | |
What prevents you from putting in the required comments? | 01/01/70 00:00 | |
While putting in comments i saw one error | 01/01/70 00:00 | |
Hmmmm... | 01/01/70 00:00 | |
Jitter | 01/01/70 00:00 | |
still no luck | 01/01/70 00:00 | |
We have not seen the schematics | 01/01/70 00:00 | |
Its working | 01/01/70 00:00 | |
Another Program to test my interrupt !! | 01/01/70 00:00 | |
Code legibility![]() | 01/01/70 00:00 |