Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of i2c_slave by
slave.h
- Committer:
- greenroshks
- Date:
- 2014-07-01
- Revision:
- 1:37d4026fa600
- Parent:
- 0:ad4485166cfe
File content as of revision 1:37d4026fa600:
#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];
} ;
            
    