![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
i2c working with new hk(no battery gauge)
slave.h@0:e9c32e1df869, 2014-12-17 (annotated)
- Committer:
- sakthipriya
- Date:
- Wed Dec 17 06:52:26 2014 +0000
- Revision:
- 0:e9c32e1df869
i2c working with new hk(no battery gauge)
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
sakthipriya | 0:e9c32e1df869 | 1 | #include "mbed.h" |
sakthipriya | 0:e9c32e1df869 | 2 | #define WriteGeneral 3 |
sakthipriya | 0:e9c32e1df869 | 3 | #define ReadAddressed 1 |
sakthipriya | 0:e9c32e1df869 | 4 | #define slave_address 0x20 |
sakthipriya | 0:e9c32e1df869 | 5 | |
sakthipriya | 0:e9c32e1df869 | 6 | |
sakthipriya | 0:e9c32e1df869 | 7 | void FUNC_I2C_WRITE2CDMS(); |
sakthipriya | 0:e9c32e1df869 | 8 | void T_I2C_BAE(); |
sakthipriya | 0:e9c32e1df869 | 9 | void ir2master(); |
sakthipriya | 0:e9c32e1df869 | 10 | void FUNC_INT(); |
sakthipriya | 0:e9c32e1df869 | 11 | void FUNC_RESET(); |
sakthipriya | 0:e9c32e1df869 | 12 |