![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
i2c slave integrated
Fork of BAE_FRDM_INTEGRATION by
Diff: slave.cpp
- Revision:
- 5:255b43e8e21a
- Parent:
- 3:02b45de29c0f
- Child:
- 7:f06840d848e3
diff -r 8f6c24eca109 -r 255b43e8e21a slave.cpp --- a/slave.cpp Wed Dec 03 11:23:37 2014 +0000 +++ b/slave.cpp Thu Dec 04 07:17:44 2014 +0000 @@ -77,7 +77,9 @@ loopvariable2++; } screen.printf("\nfault %c\n",Sensor.fault); - write_to_master(Sensor.fault);//while(loopvariable2<30) + write_to_master(Sensor.fault); + screen.printf("\npower mode %c\n",Sensor.power_mode); + write_to_master(Sensor.power_mode); printf("\nExited i2c while loop\n"); slave.stop(); loopvariable3=0;