Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
01/12/07 16:29
Read: times


 
Msg Score: -1
 -1 Answer is Wrong
#130730 - Have U got it right dude?
Responding to: ???'s previous message
It was pointed out to U in very first post.
Did U check basic hardware working?
Just like in PC I always use POST to check HW.
Like at start of main program:
mov P0,#00
call delay_1sec
mov P0,#0FFh

This will light all LEDs for 1sec and turn off.
means now HW is OK.

Now in the pogram of Urs add a line marked at **

CALL IN_DATA ;Get LSB of temp.
MOV R1,A ;Save LSB.

CALL IN_DATA ;Get MSB/MSb of temp.
MOV R2,A ;Save MSB.
;*****Add line below****
MOV A,R1 ;Get LSB in A
;*********Thats all was required ******
MOV P0,A ;<<<----My change made to the original program!!

Eventhough U have miles/kms to get the basics may be U had
beginners feel -- I AM ALWRIGHT BUT THE WORLD IS WRONG!

List of 32 messages in thread
TopicAuthorDate
Problem with DS1620 and 8051!! Please Help!!            01/01/70 00:00      
   Re:Problem with DS1620 and 8051!! Please Help!!            01/01/70 00:00      
   does it work?            01/01/70 00:00      
      Re:Trivial issues..            01/01/70 00:00      
         ds1620 data sheet            01/01/70 00:00      
            Re: ds1620 data sheet            01/01/70 00:00      
               get the basics first.            01/01/70 00:00      
                  Basics - Data format            01/01/70 00:00      
                     Re: Basics            01/01/70 00:00      
                        Re: Basics            01/01/70 00:00      
                           google is your best friend            01/01/70 00:00      
                        No - see below            01/01/70 00:00      
                           RE:see below            01/01/70 00:00      
                              Table 3            01/01/70 00:00      
   DS1620 Data format            01/01/70 00:00      
      Re:DS1620 Data format            01/01/70 00:00      
   What Standard Program?            01/01/70 00:00      
      Standard Program            01/01/70 00:00      
         Clickable            01/01/70 00:00      
            newbie explanation            01/01/70 00:00      
               No, that's wrong            01/01/70 00:00      
               MCT            01/01/70 00:00      
            Have U got it right dude?            01/01/70 00:00      
               YOu may think so            01/01/70 00:00      
               Like, totally un-right Man!            01/01/70 00:00      
               Like, so Incomplete, dude!            01/01/70 00:00      
                  Where is question of completeness            01/01/70 00:00      
                     how can 'u' be complete, look in any dictionary            01/01/70 00:00      
                     Rules            01/01/70 00:00      
                        Thanks Sir. When you got awake?            01/01/70 00:00      
                           You            01/01/70 00:00      
                     Rules of the board            01/01/70 00:00      

Back to Subject List