Chaitanya Vanapalli
/
rtos_cdms_testing_trash
working code of cdms with i2c
Fork of rtos_basic by
Embed:
(wiki syntax)
Show/hide line numbers
master.h
00001 #include "mbed.h" //library 00002 #define get_hk_data '1' //sample telecommands 00003 #define telecommand2 '2' 00004 #define telecommand3 '3' 00005 #define telecommand4 '4' 00006 #define telecommand5 '5' 00007 00008 const int addr = 0x20; //slave address 00009 char receive_byte(); //funtion to receive float data 00010 void FUNC_I2C_MASTER_MAIN(char command, int slave_address, int iterations);
Generated on Sun Jul 24 2022 21:13:36 by 1.7.2