Chaitanya Viswa
/
xmasterv2
v2i2c master receiving 4 bit data from slave
Fork of xmaster by
Diff: master.cpp
- Revision:
- 2:506318f67496
- Parent:
- 1:35dee3eff0ab
--- a/master.cpp Mon Jul 07 07:31:25 2014 +0000 +++ b/master.cpp Mon Jul 07 10:35:37 2014 +0000 @@ -4,7 +4,7 @@ { int acknowledge1; int acknowledge2; - int loopvariable1=1,loopvariable2=0; + uint8_t loopvariable1=1,loopvariable2=0; int addr = slave_address; while(loopvariable1) {