cdms i2c working - but not working after hk data is sent

Dependencies:   mbed-rtos mbed

Fork of pcb_test_vr1_1_2 by GOPA KUMAR K C

Revision:
1:bbddd1763652
Parent:
0:e91ee0e99213
Child:
3:0931a8800543
--- a/ACS.cpp	Tue Apr 07 16:11:54 2015 +0000
+++ b/ACS.cpp	Tue Apr 07 18:10:19 2015 +0000
@@ -7,11 +7,11 @@
 SPI spi_acs (PIN16, PIN17, PIN15);        // mosi, miso, sclk  PTE18,19,17
 DigitalOut SSN_MAG (PIN61);               // ssn for magnetometer PTB11
 DigitalInOut DRDY (PIN47);                 // drdy for magnetometer PTA17
-DigitalOut ssn_gyr (PIN62);                //Slave Select pin of gyroscope  PTB16
-InterruptIn dr(PIN81);                     //Interrupt pin for gyro PTC5
+DigitalOut ssn_gyr (PTE2);                //Slave Select pin of gyroscope  PTB16
+InterruptIn dr(PTC6);                     //Interrupt pin for gyro PTC5
 PwmOut PWM1(PIN93);                          //Functions used to generate PWM signal 
 PwmOut PWM2(PIN94); 
-PwmOut PWM3(PIN88);                          //PWM output comes from pins p6
+PwmOut PWM3(PIN95);                          //PWM output comes from pins p6
 Ticker tr;                                //Ticker function to give values for limited amount of time for gyro
 Timeout tr_mag;
 uint8_t trflag_mag;