TYBLE16 on os5 sample programs
Dependencies: BME280 TextLCD nRF51_Vdd
Fork of TYBLE16_mbedlized_os5_BASE by
Please refer following notebook.
/users/kenjiArai/notebook/tyble16-module-as-mbed-os-5-board-mbedlization/
Diff: select_example.cpp
- Revision:
- 3:c0010c8ad17f
- Parent:
- 2:47ad8c48224e
diff -r 47ad8c48224e -r c0010c8ad17f select_example.cpp --- a/select_example.cpp Sat Apr 14 12:57:53 2018 +0000 +++ b/select_example.cpp Sun Apr 15 04:15:18 2018 +0000 @@ -5,7 +5,7 @@ * http://www.page.sannet.ne.jp/kenjia/index.html * https://os.mbed.com/users/kenjiArai/ * Created: April 7th, 2018 - * Revised: April 14th, 2018 + * Revised: April 15th, 2018 */ /* @@ -30,11 +30,12 @@ 7 & 8. 7_Uart_Client & 8_Uart_Server Uart Client(Central) and Server(Peripheral) -> PLEASE SET VCOM BAUDRATE IS 115200 + https://os.mbed.com/users/kenjiArai/ + code/TYBLE16_mbedlized_os5_several_examples_2/ 9. 9_Monitor Check nRF51 CPU functions */ -#define EXAMPLE_NUMBER 6 -// select 0 to 9 +#define EXAMPLE_NUMBER 0 // select 0 to 6 & 9 //----------------- You don't need any modification ---------------------------- #if EXAMPLE_NUMBER == 0 @@ -73,17 +74,9 @@ #include "6_Thermo/main.cpp" #endif #elif EXAMPLE_NUMBER == 7 -#define EXAMPLE_7_UART_CLIENT -#ifdef EXAMPLE_7_UART_CLIENT -#include "7_Uart_Client/main.cpp" -#warning "Please set VCOM baudrate -> 115200 "" -#endif +#error "Please use TYBLE16_mbedlized_os5_several_examples_2nd" #elif EXAMPLE_NUMBER == 8 -#define EXAMPLE_8_UART_SERVER -#ifdef EXAMPLE_8_UART_SERVER -#include "8_Uart_Server/main.cpp" -#warning "Please set VCOM baudrate -> 115200 "" -#endif +#error "Please use TYBLE16_mbedlized_os5_several_examples_2nd" #elif EXAMPLE_NUMBER == 9 #define EXAMPLE_9_MONITOR #ifdef EXAMPLE_9_MONITOR