| ??? 04/14/08 14:08 Read: times |
#153254 - I used a 74LS121 and... Responding to: ???'s previous message |
It worked!! :D
Thanks a lot to all the members of this board who helped me in this! However I have two questions: 1. Will not adding the 74LS121 increase the current drawn and thereby increase the power consumption and offset any benefit I would have got by going to power down mode? I plan to measure the current drawn in normal and PD mode and then find out the average current to really decide whether I would eventually deploy the 121. 2. My code looks something like this:
ORG 0003H ;ISR for /INT0
LCALL INT0_ISR
RETI
ORG 0030H
MAIN: ;main line code
;some code...
;still more code...
;still some more code...
HERE: MOV PCON,#02H ;going to power down mode
SJMP HERE
INT0_ISR: ;ISR for my interrupt
;do stuff
;do more stuff
RET
Is this correct? I mean is the method of continuously running in a loop and setting the micro to PD mode correct? The above code works though but I want to be very sure before going ahead with deploying my 121. regards, Seemanta |



