gfgf

Dependencies:   mbed-rtos mbed

Fork of CDMS_tc by sakthi priya amirtharaj

Files at this revision

API Documentation at this revision

Comitter:
raizel_varun
Date:
Fri Dec 19 09:22:33 2014 +0000
Parent:
0:252ce694a71e
Commit message:
gdhgd; ;

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r 252ce694a71e -r 192fbd193467 main.cpp
--- 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");