classC example
Diff: main.cpp
- Revision:
- 1:708d73c0e43c
- Parent:
- 0:4b6e76c6608f
--- a/main.cpp Fri May 04 18:18:03 2018 -0700 +++ b/main.cpp Tue May 29 14:21:35 2018 -0700 @@ -465,10 +465,14 @@ { APP_PRINTF("FPort%u ", mcpsIndication->Port); print_buf(mcpsIndication->Buffer, mcpsIndication->BufferSize, ""); +#ifdef TARGET_DISCO_L072CZ_LRWAN1 if (mcpsIndication->Buffer[0]) blue = LED_ON; else blue = LED_OFF; +#else + /* your target LED */ +#endif /* ..TARGET_DISCO_L072CZ_LRWAN1 */ switch( mcpsIndication->Port ) {