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
Diff: main.cpp
- Revision:
- 4:b52a0d2925df
- Parent:
- 1:7a3eed610fea
- Child:
- 5:fe1f5b231446
diff -r de0f45bd0aac -r b52a0d2925df main.cpp
--- a/main.cpp Fri Apr 19 10:51:43 2019 +0000
+++ b/main.cpp Sat Apr 20 19:19:26 2019 +0000
@@ -12,6 +12,7 @@
Rotate Rotate;
Release Release;
+Detect detect;
InterruptIn A(PTB9);
InterruptIn B(PTD0);
@@ -67,14 +68,20 @@
case 1 :
Rotate.rotate(lcd,Image, Rotate.return_angle, PI, Rotate.return_flag);
//printf("f%", Rotate.return_angle);
+ // int i=0;
+ // i=i+1
+ //int catched(i)=(n,n)
+ // int ii
+ //for (ii=0; ii<i; ii=ii+1)
+ // draw blank(i)
+ // end
break;
case 2 :
- Release.release(lcd,Image, Rotate.return_angle);
+ Release.release(detect, lcd,Image, Rotate.return_angle);
//printf("f%", Rotate.return_angle);
g_A_flag = 1;
g_B_flag = 0;
break;
-
}