![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
beacon on/off implemented and working
Fork of i2c_configuring by
Diff: ACS.cpp
- Revision:
- 3:0931a8800543
- Parent:
- 1:bbddd1763652
--- a/ACS.cpp Thu Apr 09 15:12:12 2015 +0000 +++ b/ACS.cpp Wed May 13 06:19:25 2015 +0000 @@ -7,8 +7,8 @@ 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 (PTE2); //Slave Select pin of gyroscope PTB16 -InterruptIn dr(PTC6); //Interrupt pin for gyro PTC5 +DigitalOut ssn_gyr (PIN62); //Slave Select pin of gyroscope PTB16 +InterruptIn dr(PIN81); //Interrupt pin for gyro PTC5 PwmOut PWM1(PIN93); //Functions used to generate PWM signal PwmOut PWM2(PIN94); PwmOut PWM3(PIN95); //PWM output comes from pins p6