Jump to content
43oh

juani_c

Members
  • Content Count

    115
  • Joined

  • Last visited

  • Days Won

    3

Posts posted by juani_c

  1. I fix it!!! one of the functions works (at list the simulation), for the other one i will have to change the state machine, I took that part of the code from other file and instead of making me the things easier it turn the code a mess. I'll give it a shot in a couple of days ( I've had enough for today), the thing is that if i try to implement other functions it will be getting worst and worst...

    So my choices are:

    to use the same structure with the state machine, starting from scratch with my own code(the hard way, it will take a while)

    or use the TI I2C library(the easy way)

     

    thank you all for the help

  2. well, i said that it would be some stupid mistake, thats what i get for copy and paste, thanks bluehash!! now i'm getting another error, but i think this one will be on my own...

  3. i am using IAR an the code is from parts of other codes. It has a lot of comments to make it easier to understand. the problem came up when i put this line;

    void tmp175_Config(Address, Config_Register, 0xE1);

     

    I know that i migth be making some silly mistake with the definitions, the variables types or something like that, but well i can not see it... :oops:

     

    by the way, this "library" is faaaaaaarrrrr from finished, and i dont

    TMP175.rar

  4. well....this is kind of embarrasing.bear with me... I'm learning... :roll:

    I have done some projects in IAR before but i'm not used to work with libraries, although i will start using them, they seem to be pretty handy.

    The problem was in the 7th step. I thought that with the "include" at the beginning was enough, now is working!!! I only make a little test of the soft, I'm looking forward to try it in hardware (I happen to have the TLV ) but this will have to wait, I ave an exam on thursday!!! :(

    Once again thanks for all the help

×
×
  • Create New...