![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
Changes added for the DISCO-L476VG
Diff: main.cpp
- Revision:
- 5:fc8269b40d74
- Parent:
- 4:5273ab1085ab
diff -r 5273ab1085ab -r fc8269b40d74 main.cpp --- a/main.cpp Thu May 19 22:04:06 2016 +0000 +++ b/main.cpp Fri Oct 29 12:06:18 2021 +0000 @@ -87,6 +87,7 @@ uint8_t uch_dummy; Serial pc(USBTX, USBRX); //initializes the serial port + #ifdef TARGET_KL25Z PwmOut led(PTB18); //initializes the pwm output that connects to the on board LED DigitalIn INT(PTD1); //pin PTD1 connects to the interrupt output pin of the MAX30102 @@ -97,6 +98,8 @@ #ifdef TARGET_MAX32600MBED PwmOut led(LED_RED); //initializes the pwm output that connects to the on board LED DigitalIn INT(P2_0); //pin P20 connects to the interrupt output pin of the MAX30102 +#else +DigitalIn INT(PD_0); #endif // the setup routine runs once when you press reset: