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:
- 18:0e281922212c
- Parent:
- 17:75d567b60214
- Child:
- 20:d23bcd97f2c5
--- a/main.cpp Thu Mar 01 17:31:04 2018 +0000
+++ b/main.cpp Fri Mar 02 22:18:47 2018 +0000
@@ -1,13 +1,14 @@
/******************************************************************************
* EECS 397
*
-* Assignment Name: Lab 4: display_nums2
+* Assignment Name: Lab 5: WaG
*
* Authors: Sam Morrison and Phong Nguyen
* File name: main.cpp
* Purpose: Configures the dispaly for 4-digit display
*
-* Last Modified: 02/27/2018
+* Created: 03/01/2018
+* Last Modified: 03/02/2018
*
******************************************************************************/
#include "mbed.h"
@@ -21,7 +22,7 @@
int frequency = 1000000;
DigitalOut SS(DSP_AS1107_NCS);
-SPI spi(MOSI, MISO, SCLK);
+SPI wag_spi(MOSI, MISO, SCLK);
Serial pc(USBTX, USBRX);
int main(void) {
