Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: BLE_API mbed nRF51822
Fork of nRF51822_SimpleControls by
Revision 12:99c81e757506, committed 2016-12-22
- Comitter:
- MarkSPA
- Date:
- Thu Dec 22 20:48:49 2016 +0000
- Parent:
- 11:45f76d2b5b8c
- Child:
- 13:daadb429b388
- Commit message:
- Latest as of 12/22/16
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- 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;