Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: main.cpp
- Revision:
- 5:fc8269b40d74
- Parent:
- 4:5273ab1085ab
--- 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: