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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
03/31/10 15:55
Read: times


 
#174683 - Why not start with the code they give you?
Responding to: ???'s previous message
Odysseas Ko said:
Apparently i was wrong on trying to write a I2C code.

Indeed!

Can someone tell me how could i read my sensor and send data to lcd display?

They provide code on their website - why don't you at least take that as your starting point?
It seems to contain pretty good comments that explain what it's doing!

The part of code i've wrote is it completely wrong?

You quoted the datasheet yourself - it says the chip does not use I2C!!


List of 24 messages in thread
TopicAuthorDate
8051 using i2c            01/01/70 00:00      
   What was your result?            01/01/70 00:00      
      Results            01/01/70 00:00      
         Binary data or printable ASCII data?            01/01/70 00:00      
            Binary data            01/01/70 00:00      
   I probably have a problem using I2C protocol.            01/01/70 00:00      
      I2C protocol            01/01/70 00:00      
         that being the case            01/01/70 00:00      
         So it clearly tells you that it is *not* I2C!!            01/01/70 00:00      
   start over            01/01/70 00:00      
      Why not start with the code they give you?            01/01/70 00:00      
         what code?            01/01/70 00:00      
            compile it            01/01/70 00:00      
            You have to be prepared to do some work, you know            01/01/70 00:00      
               Ripping assembler from the debugger            01/01/70 00:00      
      I need some help            01/01/70 00:00      
         Not a Contracting Site            01/01/70 00:00      
         We may be able to come to an arrangement - on one condition            01/01/70 00:00      
            BRAVO            01/01/70 00:00      
            I need some help 2            01/01/70 00:00      
               Have you checked the debugger/simulator yet?            01/01/70 00:00      
                  Compiler/simulator            01/01/70 00:00      
                     No compiler in the C51 kit???            01/01/70 00:00      
                        you were so right            01/01/70 00:00      

Back to Subject List