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:
- 38:57af77435ae1
- Parent:
- 34:378a49e5b15f
- Child:
- 39:abf211b17e3c
--- a/main.cpp Thu Mar 22 16:41:52 2018 +0000
+++ b/main.cpp Fri Mar 23 19:32:39 2018 +0000
@@ -17,6 +17,7 @@
#include "spi.h"
#include "stepper.h"
#include "utility.h"
+#include "analog.h"
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
@@ -34,11 +35,11 @@
struct spi_cfg as1107{
- SPI_AS1107_ID,
- DSP_AS1107_NCS,
- SPI_NO_ID,
- AS1107_SPI_FREQ,
- AS1107_SPI_NO_BITS,
+ SPI_AS1107_ID;
+ DSP_AS1107_NCS;
+ SPI_NO_ID;
+ AS1107_SPI_FREQ;
+ AS1107_SPI_NO_BITS;
};
