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:
- 23:3da1d39c1ae9
- Parent:
- 22:09dd6977576b
- Child:
- 25:896dbc85907e
- Child:
- 27:3006f5abc0a5
diff -r 09dd6977576b -r 3da1d39c1ae9 main.cpp
--- a/main.cpp Thu Mar 08 17:16:18 2018 +0000
+++ b/main.cpp Tue Mar 20 15:40:03 2018 +0000
@@ -16,6 +16,7 @@
#include "display.h"
#include "spi.h"
#include "stepper.h"
+#include "utility.h"
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
@@ -24,6 +25,7 @@
Serial pc(USBTX, USBRX);
DigitalIn jog_cw(PF_14);
DigitalIn jog_ccw(PE_13);
+DigitalIn my_button(USER_BUTTON);
struct spi_cfg as1107{
SPI_AS1107_ID,
