![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
cdms i2c working - but not working after hk data is sent
Fork of pcb_test_vr1_1_2 by
Diff: beacon.cpp
- Revision:
- 1:bbddd1763652
- Parent:
- 0:e91ee0e99213
- Child:
- 3:0931a8800543
--- a/beacon.cpp Tue Apr 07 16:11:54 2015 +0000 +++ b/beacon.cpp Tue Apr 07 18:10:19 2015 +0000 @@ -17,9 +17,12 @@ //set all values as FF for checking on spectrum analyzer #include "beacon.h" #include "HK.h" +#include "pin_config.h" Serial chavan(USBTX, USBRX); // tx, rx -SPI spi(PIN2,PIN1,PIN3); // mosi, miso, sclk +//SPI spi(PIN2,PIN1,PIN3); // mosi, miso, sclk DigitalOut cs_bar(PIN6); //slave select or chip select +SPI spi(PTD6,PTD7,PTD5); // mosi, miso, sclk +//DigitalOut cs_bar(PTC11); //slave select or chip select //InterruptIn button(p9); //#define TIMES 16 //Timer t;