![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
jkjkjkjk
Fork of all_combined_week6 by
Diff: slave.h
- Revision:
- 0:cbe0ea884289
- Child:
- 3:9b597ed04ef4
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/slave.h Thu Jul 10 11:35:40 2014 +0000 @@ -0,0 +1,14 @@ +#include "mbed.h" + + +void split(float); //function to split 4 bcurrentte data +void write_to_master(char); //function to write data to master +void FUNC_I2C_SLAVE_MAIN(); + +struct SensorData //HK_data_structure +{ + float voltage[10]; + float current[10]; + float temp[10]; + //float Battery[2]; +};