gfgf

Dependencies:   mbed-rtos mbed

Fork of CDMS_tc by sakthi priya amirtharaj

Revision:
1:192fbd193467
Parent:
0:252ce694a71e
--- a/main.cpp	Wed Dec 17 12:49:58 2014 +0000
+++ b/main.cpp	Fri Dec 19 09:22:33 2014 +0000
@@ -5,8 +5,10 @@
 I2C master (D14,D15);                      //configure pins p27,p28 as I2C master
 Serial pc (USBTX,USBRX);
 DigitalOut interrupt(D9);
+DigitalOut genpin(D8);
 InterruptIn data_ready(D10);
 
+
 int reset;
 
 typedef struct
@@ -141,6 +143,7 @@
 
 int main()
 {   
+    genpin = 1;
     ptr_t_i2c = new Thread(T_I2C_MASTER_FSLAVE);
     data_ready.rise(&FUNC_INT);
     printf("\nstarted master\n");