GroupA / Mbed 2 deprecated WaG_final

Dependencies:   mbed

Fork of Lab_6_WaG by GroupA

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]);