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:
- 6:7d0e05c39c22
- Parent:
- 5:fe1f5b231446
- Child:
- 7:8d63dc3948c1
--- a/main.cpp Sun Apr 21 00:38:13 2019 +0000
+++ b/main.cpp Mon Apr 22 02:24:50 2019 +0000
@@ -4,6 +4,7 @@
#include "Release.h"
#include "Global_my.h"
#include "Gamepad.h"
+#include "Draw.h"
#define PI 3.1415
Image Image;
@@ -14,7 +15,7 @@
Rotate Rotate;
Release Release;
Detect detect;
-
+Draw Draw;
InterruptIn A(PTB9);
InterruptIn B(PTD0);
@@ -80,7 +81,7 @@
// end
break;
case 2 :
- Release.release(detect, lcd,Image, Rotate.return_angle, (int*)level_1_X, (int*)level_1_Y);
+ Release.release(Draw, detect, lcd,Image, Rotate.return_angle, (int*)level_1_X, (int*)level_1_Y);
//printf("f%", Rotate.return_angle);
g_A_flag = 1;
g_B_flag = 0;