![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
v2i2c master receiving 4 bit data from slave
Fork of xmaster by
Revision 2:506318f67496, committed 2014-07-07
- Comitter:
- viswachaitanya
- Date:
- Mon Jul 07 10:35:37 2014 +0000
- Parent:
- 1:35dee3eff0ab
- Commit message:
- uint8_t
Changed in this revision
master.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r 35dee3eff0ab -r 506318f67496 master.cpp --- 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) {