??? 10/27/05 14:09 Modified: 10/27/05 14:12 Read: times |
#103034 - no and, please read the datasheet Responding to: ???'s previous message |
what P1.0 has to do here ????
MOV T2MOD,#02H from the datasheet: T2OE (TMOD.1) Timer 2 Output Enable bit. .... T2 (P1.0): Timer/Counter 2 external count input/Clockout How come, correct me if I am wrong but pin will not toggle at its own when TF is set and no action is taken. WHAT PIN? also, From the datasheet (Please, Oh, pretty please READ IT) Auto-Reload Mode (Up or Down Counter) The external flag EXF2 toggles when Timer 2 underflows or overflows. This EXF2 bit can be used as a 17th bit of resolution if needed. The EXF2 flag does not generate an interrupt in this mode of operation. not pointing out typos There should be NONE. Always use cut-and-paste. There is nothing more annoying than spending precious time trying to help someone by pointing out an error and then be told "oh, that's a typo". Erik |