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:
- 13:9d1a7d1c4d3c
- Parent:
- 12:8faea635a2cd
- Child:
- 14:3232e8b26e55
--- a/main.cpp Wed Jul 10 11:50:37 2019 +0000 +++ b/main.cpp Wed Jul 10 21:52:35 2019 +0000 @@ -1474,6 +1474,18 @@ DigitalOut led2(LED2, LED_OFF); // MAX32630FTHR: LED2 = LED_GREEN DigitalOut led3(LED3, LED_OFF); // MAX32630FTHR: LED3 = LED_BLUE DigitalOut led4(LED4, LED_OFF); +#else // USE_LEDS=0 +// issue #41 support Nucleo_F446RE +// there are no LED indicators on the board, LED1 interferes with SPI; +// but we still need placeholders led1 led2 led3 led4. +// Declare DigitalOut led1 led2 led3 led4 targeting safe pins. +// PinName NC means NOT_CONNECTED; DigitalOut::is_connected() returns false +# define LED_ON 0 +# define LED_OFF 1 +DigitalOut led1(NC, LED_OFF); +DigitalOut led2(NC, LED_OFF); +DigitalOut led3(NC, LED_OFF); +DigitalOut led4(NC, LED_OFF); #endif // USE_LEDS //--------------------------------------------------