![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
jkjkjkjk
Fork of all_combined_week6 by
slave.h@0:cbe0ea884289, 2014-07-10 (annotated)
- Committer:
- harshit_felicity
- Date:
- Thu Jul 10 11:35:40 2014 +0000
- Revision:
- 0:cbe0ea884289
- Child:
- 3:9b597ed04ef4
Fuck Yeahh..btich
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
harshit_felicity | 0:cbe0ea884289 | 1 | #include "mbed.h" |
harshit_felicity | 0:cbe0ea884289 | 2 | |
harshit_felicity | 0:cbe0ea884289 | 3 | |
harshit_felicity | 0:cbe0ea884289 | 4 | void split(float); //function to split 4 bcurrentte data |
harshit_felicity | 0:cbe0ea884289 | 5 | void write_to_master(char); //function to write data to master |
harshit_felicity | 0:cbe0ea884289 | 6 | void FUNC_I2C_SLAVE_MAIN(); |
harshit_felicity | 0:cbe0ea884289 | 7 | |
harshit_felicity | 0:cbe0ea884289 | 8 | struct SensorData //HK_data_structure |
harshit_felicity | 0:cbe0ea884289 | 9 | { |
harshit_felicity | 0:cbe0ea884289 | 10 | float voltage[10]; |
harshit_felicity | 0:cbe0ea884289 | 11 | float current[10]; |
harshit_felicity | 0:cbe0ea884289 | 12 | float temp[10]; |
harshit_felicity | 0:cbe0ea884289 | 13 | //float Battery[2]; |
harshit_felicity | 0:cbe0ea884289 | 14 | }; |