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:
- 1:52b7ac862f35
- Parent:
- 0:2ef3f0a3ce31
--- a/main.cpp Tue Dec 01 12:20:10 2020 +0000 +++ b/main.cpp Wed Dec 09 17:22:58 2020 +0000 @@ -4,13 +4,10 @@ DigitalOut led(LED1); -DigitalOut step(D2); -DigitalOut dir(D3); -DigitalOut enable(D4); +DigitalOut step(D13); +DigitalOut dir(D12); +DigitalOut enable(D11); -#define DATA_PIN D4 - -DS1820 probe(DATA_PIN); int main() {