2022_Ateam_MOTORprogramをscrp_slaveでメインマイコンからコントローラー状況を読み取れるように改良。 また、モータに0以外のpwmが送られている場合に基盤付属のledが点灯するようにした。

Dependencies:   SBDBT arrc_mbed BNO055

Revision:
7:a0375e6dc8ca
Parent:
1:ea880e226e5a
--- a/TARGETco.cpp	Mon Jan 24 09:21:43 2022 +0000
+++ b/TARGETco.cpp	Thu Jan 27 09:21:50 2022 +0000
@@ -21,6 +21,7 @@
     target[1] = -Yvelocity;
     target[2] = Xvelocity;
     target[3] = Yvelocity;
+    //printf("%lf\n",target[1]);
 }
 
 double TARGETco::obt_target1(){ return target[0]; }