2 Replies Latest reply on Jan 8, 2013 7:30 AM by lee.carter

    i2c_hw.c error

    lee.carter

       hi

         

      i use i2c_hw.c and i comment DBG, but error happened.. like this 

         

      //#define DBG

         

      what am i do ? could you please check the code again?

         

       

         

       

         

       

         

      I2C_HW.C(43): warning C236: '_I2CWrite': different length of parameter lists

         

      I2C_HW.C(114): error C202: 'sub_type': undefined identifier

         

      I2C_HW.C(116): error C202: 'sub_type': undefined identifier

         

      I2C_HW.C(158): error C202: 'sub_type': undefined identifier

         

      I2C_HW.C(168): error C202: 'sub_type': undefined identifier

         

      I2C_HW.C(208): error C202: 'i': undefined identifier

         

      I2C_HW.C(210): error C202: 'i': undefined identifier