freemaster1.0

Dependencies:   mbed

master.h

Committer:
viswachaitanya
Date:
2014-12-03
Revision:
0:a39f49a913e6

File content as of revision 0:a39f49a913e6:

#include "mbed.h"                          //library                                              
#define get_hk_data '1'                      //sample telecommands
#define telecommand2 '2'
#define telecommand3 '3'
#define telecommand4 '4'
#define telecommand5 '5'

const int addr = 0x20;                     //slave address 
char receive_byte();                      //funtion to receive float data 
void master_main();