hassya_been

Dependencies:   mbed SBDBT arrc_mbed air

Files at this revision

API Documentation at this revision

Comitter:
asumamatsumura
Date:
Tue Feb 01 13:12:49 2022 +0000
Commit message:
kaisyu_been

Changed in this revision

SBDBT.lib Show annotated file Show diff for this revision Revisions of this file
air.lib Show annotated file Show diff for this revision Revisions of this file
arrc_mbed.lib Show annotated file Show diff for this revision Revisions of this file
main.cpp Show annotated file Show diff for this revision Revisions of this file
mbed.bld Show annotated file Show diff for this revision Revisions of this file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/SBDBT.lib	Tue Feb 01 13:12:49 2022 +0000
@@ -0,0 +1,1 @@
+https://os.mbed.com/users/m2130/code/SBDBT/#9fd7393a3023
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/air.lib	Tue Feb 01 13:12:49 2022 +0000
@@ -0,0 +1,1 @@
+https://os.mbed.com/teams/Akashi_2021_Bteam/code/air/#409232b72b2b
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/arrc_mbed.lib	Tue Feb 01 13:12:49 2022 +0000
@@ -0,0 +1,1 @@
+https://os.mbed.com/users/TanakaRobo/code/arrc_mbed/#77c13e86ad12
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp	Tue Feb 01 13:12:49 2022 +0000
@@ -0,0 +1,22 @@
+#include "mbed.h"
+#include "scrp_slave.hpp"
+#include "air.hpp"
+#include "sbdbt.hpp"
+sbdbt ds3(A0, A1);
+Air catch_been(PA_0);
+
+//↓回収用
+void CATCH_BEEN(bool data){
+    catch_been.move(data);
+}
+
+int main(){
+    bool catch_been=0,old_circle;
+    while(true){
+//↓コントローラー関係
+        if(old_circle<ds3.circle()) catch_been=!catch_been;
+        old_circle=ds3.circle();
+//↓関数関係    
+        CATCH_BEEN(catch_been);
+        }
+}
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mbed.bld	Tue Feb 01 13:12:49 2022 +0000
@@ -0,0 +1,1 @@
+https://os.mbed.com/users/mbed_official/code/mbed/builds/65be27845400
\ No newline at end of file