this code needed help please

Dependencies:   ADXL362_v3 BLE_API mbed nRF51822

Fork of BLENano_SimpleTemplate_adxl362_170813 by Jun ADI

Revision:
7:2d9b5491b2d3
Parent:
6:29ffd540b089
Child:
9:ca9a58478ddd
diff -r 29ffd540b089 -r 2d9b5491b2d3 main.cpp
--- a/main.cpp	Thu Aug 03 05:19:36 2017 +0000
+++ b/main.cpp	Sun Aug 13 05:16:22 2017 +0000
@@ -40,12 +40,12 @@
 //------------------------------------------------------------ 
 #define TXRX_BUF_LEN 20                     //max 20[byte]
 #define DEVICE_LOCAL_NAME "ADXL362"         //Change Name
-#define ADVERTISING_INTERVAL 16            //16 * 0.625[ms] = 10[ms]
-#define TICKER_TIME 10000                  //10000[us] = 10[ms]
+#define ADVERTISING_INTERVAL 160            //16 * 0.625[ms] = 100[ms]
+#define TICKER_TIME 200000                  //200000[us] = 200[ms]
 #define DIGITAL_OUT_PIN P0_9
 //#define ANALOG_IN_PIN   P0_4
 
-//Set Pin
+//Set SPI Pin
 #define CS P0_10
 #define MOSI P0_9
 #define MISO P0_11
@@ -59,7 +59,7 @@
 DigitalOut      LED_SET(DIGITAL_OUT_PIN);
 //AnalogIn        ANALOG(ANALOG_IN_PIN);
 
-//Set pin at header file.(see ADXL362.h line185)
+//SPI pin setting and change header file.(see ADXL362.h line185)
 ADXL362 adxl362(CS, MOSI, MISO, SCK);
 
 //------------------------------------------------------------