v2i2c master receiving 4 bit data from slave

Dependencies:   mbed

Fork of xmaster by Chaitanya Viswa

Revision:
1:35dee3eff0ab
Parent:
0:e96ddb4b964e
Child:
2:506318f67496
--- 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;