sakthi priya amirtharaj
/
BAE_vr2_1_3
i2c working with old hk
Fork of BAE_vr2_1_1 by
Diff: slave.cpp
- Revision:
- 7:f06840d848e3
- Parent:
- 5:255b43e8e21a
- Child:
- 9:221d218f4690
diff -r e65b1ab79f36 -r f06840d848e3 slave.cpp --- a/slave.cpp Tue Dec 09 07:59:56 2014 +0000 +++ b/slave.cpp Wed Dec 10 06:34:17 2014 +0000 @@ -76,8 +76,10 @@ } loopvariable2++; } - screen.printf("\nfault %c\n",Sensor.fault); - write_to_master(Sensor.fault); + screen.printf("\nfault %c\n",Sensor.faultpoll); + write_to_master(Sensor.faultpoll); + screen.printf("\nfault %c\n",Sensor.faultir); + write_to_master(Sensor.faultir); screen.printf("\npower mode %c\n",Sensor.power_mode); write_to_master(Sensor.power_mode); printf("\nExited i2c while loop\n");