| ??? 11/14/03 02:48 Read: times |
#58616 - RE: AC linearization -Cant compare TH0 & Responding to: ???'s previous message |
this is the trigger routine:
;----------------------------------------- ; Trigger ;----------------------------------------- Trigger: mov a, COMP_L clr c subb a, TL0 mov a, COMP_H subb a, TH0 jnc NotYet mov P2, #0x01 ; fire the triac clr LATCH1 setb LATCH1 mov P2, #0x00 clr LATCH1 setb LATCH1 NotYet: ret The zero crossing int just clears the TH0 and TL0 back to 0. When I compare just the TH0 value is all right... but if I try to compare the low value too the light gives a quick full bright pulse and just sit there... (KCT) gabriel |
| Topic | Author | Date |
| AC linearization -Cant compare TH0 & TL0 | 01/01/70 00:00 | |
| RE: AC linearization -Cant compare TH0 & TL0 | 01/01/70 00:00 | |
| RE: AC linearization -Cant compare TH0 & TL0 | 01/01/70 00:00 | |
| RE: AC linearization -Cant compare TH0 & | 01/01/70 00:00 | |
RE: AC linearization -Cant compare TH0 & | 01/01/70 00:00 | |
| RE: AC linearization -Cant compare TH0 & TL0 | 01/01/70 00:00 | |
| RE: AC linearization -Cant compare TH0 & TL0 | 01/01/70 00:00 |



