Test program running on MAX32625MBED. Control through USB Serial commands using a terminal emulator such as teraterm or putty.
Dependencies: MaximTinyTester CmdLine MAX5171 USBDevice
Diff: main.cpp
- Revision:
- 21:d7cbdc13aa92
- Parent:
- 20:373d71e6de5f
--- a/main.cpp Tue Aug 13 16:31:02 2019 -0700 +++ b/main.cpp Sun Sep 22 18:23:07 2019 -0700 @@ -1760,8 +1760,16 @@ # define LED_ON 1 # define LED_OFF 0 #else // not defined(TARGET_LPC1768 etc.) -# define LED_ON 1 -# define LED_OFF 0 +// USE_LEDS with some platform other than MAX32630, MAX32625MBED, LPC1768 +// bugfix for MAX32600MBED LED blink pattern: check if LED_ON/LED_OFF already defined +# ifndef LED_ON +# define LED_ON 0 +# endif +# ifndef LED_OFF +# define LED_OFF 1 +# endif +//# define LED_ON 1 +//# define LED_OFF 0 #endif // target definition DigitalOut led1(LED1, LED_OFF); // MAX32630FTHR: LED1 = LED_RED DigitalOut led2(LED2, LED_OFF); // MAX32630FTHR: LED2 = LED_GREEN