sakthi priya amirtharaj
/
BAE_vr2_gingerbread
i2c working with new hk(no pin conflict)
Fork of BAE_vr2_1_4 by
Diff: ACS.cpp
- Revision:
- 1:bd715ccef1bb
- Parent:
- 0:e9c32e1df869
diff -r e9c32e1df869 -r bd715ccef1bb ACS.cpp --- a/ACS.cpp Wed Dec 17 06:52:26 2014 +0000 +++ b/ACS.cpp Wed Dec 17 09:18:36 2014 +0000 @@ -9,9 +9,9 @@ DigitalIn DRDY (D12); // drdy for magnetometer DigitalOut ssn_gyr (D13); //Slave Select pin of gyroscope InterruptIn dr(D7); //Interrupt pin for gyro -PwmOut PWM1(A0); //Functions used to generate PWM signal -PwmOut PWM2(A1); -PwmOut PWM3(A2); //PWM output comes from pins p6 +PwmOut PWM1(A3); //Functions used to generate PWM signal +PwmOut PWM2(A4); +PwmOut PWM3(A5); //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;