![](/media/cache/group/logo_thTzkVQ.jpg.50x50_q85.jpg)
NuMaker NuWicam sample on NUC472
Dependencies: Modbus nvt_rs485
NuWicam for NuMaker-PFM-NUC472 board. Please refer document before executing it. More details, please refer https://github.com/OpenNuvoton/NuMaker_NuWicam_Samples/
Diff: main.cpp
- Revision:
- 9:a2e3c8955dda
- Parent:
- 5:a1dd75c39f6a
- Child:
- 11:9d35473bab9c
diff -r 478b47fb0af6 -r a2e3c8955dda main.cpp --- a/main.cpp Thu Dec 15 11:22:01 2016 +0800 +++ b/main.cpp Thu Dec 22 14:50:10 2016 +0800 @@ -38,8 +38,11 @@ AnalogIn LM35(A0); #define DEF_LED_NUM 6 +#if defined(TARGET_NUMAKER_PFM_NUC472) DigitalOut LED[DEF_LED_NUM] = { PF_9, PF_10, PC_10, PC_11, PA_10, PA_9 } ; - +#elif defined(TARGET_NUMAKER_PFM_M453) +DigitalOut LED[DEF_LED_NUM] = { PC_6, PC_7, PC_11, PC_12, PC_13, PC_14 } ; +#endif void light_leds() {