BTstack for EA LPC4088 QSB example program
Dependencies: LPC4088-USBHost mbed
Fork of KL46Z-BTstack_example by
The usage is the same as KL46Z-BTstack_example.
使い方はKL46Z-BTstack_exampleと同じです。
Diff: main.cpp
- Revision:
- 6:d946cb517371
- Parent:
- 3:54f9b5e0d12d
--- a/main.cpp Wed Feb 05 14:56:10 2014 +0000 +++ b/main.cpp Fri Apr 25 05:34:24 2014 +0000 @@ -8,11 +8,14 @@ Serial pc(USBTX, USBRX); DigitalOut led1(LED1), led2(LED2); -#if defined(TARGET_KL46Z)||defined(TARGET_KL25Z) +#if defined(TARGET_LPC4088)||defined(TARGET_LPC1768) +#define LED_ON 1 +#define LED_OFF 0 +#elif defined(TARGET_KL46Z)||defined(TARGET_KL25Z) #define LED_ON 0 #define LED_OFF 1 #else -#error +#error target error #endif #define INQUIRY_INTERVAL 15