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:522c5a0a51d3
- Parent:
- 3:a3bb30844cb5
- Child:
- 7:179e4f3a0c12
--- a/main.cpp Mon Feb 04 12:46:17 2019 +0000 +++ b/main.cpp Mon Apr 22 11:40:05 2019 +0000 @@ -2,10 +2,10 @@ */ #include "mbed.h" -DigitalOut led1( D10 ); -DigitalOut led2( D11 ); -DigitalOut led3( D12 ); -DigitalOut led4( D13 ); +DigitalOut led1( MBED_CONF_IOTKIT_LED1 ); +DigitalOut led2( MBED_CONF_IOTKIT_LED2 ); +DigitalOut led3( MBED_CONF_IOTKIT_LED3 ); +DigitalOut led4( MBED_CONF_IOTKIT_LED4 ); // optimiert float statt double wenn ohne "f" float warte = 0.5f;