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 circle_war_ver_A_NUCLEO by
Diff: main.cpp
- Revision:
- 6:bb86e2999be0
- Parent:
- 5:df89be97e11a
- Child:
- 7:4f5cd0051db0
diff -r df89be97e11a -r bb86e2999be0 main.cpp
--- a/main.cpp Fri Apr 01 05:52:10 2016 +0000
+++ b/main.cpp Fri Apr 01 05:58:11 2016 +0000
@@ -2,27 +2,16 @@
#include "pin_file.h"
#include "spi_nucleo.h"
#include "transfer.h"
-//#include "encoder.h"
-//#include "speed_control.h"
#include <string.h>
-DigitalOut u(cil);
int main(){
void transfer();
while(pushed_number==0){
- u=0;
- wait(1);
- u=1;
- wait(1);
+
}
while(pushed_number==1){
- u=0;
- wait(1);
- u=1;
- wait(1);
}
}
-
