Chaitanya Viswa
/
xmasterv2
v2i2c master receiving 4 bit data from slave
Fork of xmaster by
Diff: master.cpp
- Revision:
- 1:35dee3eff0ab
- Parent:
- 0:e96ddb4b964e
- Child:
- 2:506318f67496
diff -r e96ddb4b964e -r 35dee3eff0ab master.cpp --- a/master.cpp Sat Jul 05 06:40:06 2014 +0000 +++ b/master.cpp Mon Jul 07 07:31:25 2014 +0000 @@ -1,6 +1,6 @@ #include "master.h" -void FUNC_I2C_MASTER_MAIN(int command, int slave_address, int iterations) +void FUNC_I2C_MASTER_MAIN(char command, int slave_address, int iterations) { int acknowledge1; int acknowledge2;