Initial (buggy) version

Dependencies:   BLE_API mbed nRF51822

Fork of nRF51822_SimpleControls by RedBearLab

Revision:
12:99c81e757506
Parent:
11:45f76d2b5b8c
Child:
13:daadb429b388
--- a/main.cpp	Sat Dec 17 16:04:55 2016 +0000
+++ b/main.cpp	Thu Dec 22 20:48:49 2016 +0000
@@ -36,7 +36,7 @@
 #define PWM_PIN                          P0_16  //D6
 #define SERVO_PIN                        P0_14  //D10
 #define ANALOG_IN_PIN                    P0_6   //A5
-#define BB_DIG_OUT_PIN                   P0_9   //D1
+#define BB_DIG_OUT_PIN                   P0_8   //D1
 
 #define LED_HEADER                       0x01
 #define ONOFF_HEADER                     0x11
@@ -72,7 +72,7 @@
 static uint8_t old_state = 0;
 neopixel_strip_t m_strip;
 //uint8_t dig_pin_num = BB_DIG_OUT_PIN; //DIGITAL_OUT_PIN; //6;
-uint8_t dig_pin_num = P0_8;
+uint8_t dig_pin_num = BB_DIG_OUT_PIN;
 //uint8_t leds_per_strip = 4; //24;
 uint8_t slow_count = 0;
 //uint8_t error;