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.
Dependencies: mbed
Fork of Lab_6_WaG by
Diff: main.cpp
- Revision:
- 6:749a691e2abf
- Parent:
- 4:0ed77d8b3e42
- Child:
- 7:161fe3793ddb
--- a/main.cpp Thu Feb 22 02:01:05 2018 +0000 +++ b/main.cpp Thu Feb 22 02:03:30 2018 +0000 @@ -15,9 +15,9 @@ #include <stdio.h> #include <string.h> -DigitalOut SS(PC_7); +DigitalOut SS(CHIP_SELECT); -SPI spi(PA_7, PA_6, PA_5); +SPI spi(MOSI, MISO, SCLK); Serial pc(USBTX, USBRX); bool num_range(char input[5]);