![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
YOZAKURAのARMプログラム(ver.1)
Dependencies: Dynamixel EthernetInterface MEMS_Thermal_Sensor mbed-rtos SerialHalfDuplex mbed
Diff: main.cpp
- Revision:
- 6:5ce16a60792b
- Parent:
- 5:fa52b01a484e
- Child:
- 7:aea2866fa06c
--- a/main.cpp Thu Apr 02 21:24:46 2015 +0000 +++ b/main.cpp Thu Apr 02 21:26:56 2015 +0000 @@ -131,7 +131,7 @@ while(1) { - /*--Dynamixel:begin-----------------------------------------------------------------------------------*/ + /*--Dynamixel:begin---------------------------------------------------------------*/ //現在の角度・電圧・電流を取得 myled1=1; lP=linear.GetPosition(); lV=linear.GetVolts(); @@ -149,21 +149,21 @@ pitch.SetGoal(pitch_goal); yaw.SetGoal(yaw_goal); myled2=0; - /*--Dynamixel:end--------------------------------------------------------------------------------------*/ + /*--Dynamixel:end------------------------------------------------------------------*/ - /*--Thermal_Sensor:begin-------------------------------------------------------------------------------*/ + /*--Thermal_Sensor:begin-----------------------------------------------------------*/ //値を取得 Thermal_Sensor(); //値を送信 - /*--Thermal_Sensor:end---------------------------------------------------------------------------------*/ + /*--Thermal_Sensor:end-------------------------------------------------------------*/ - /*--CO2_Sensor:begin-----------------------------------------------------------------------------------*/ + /*--CO2_Sensor:begin---------------------------------------------------------------*/ //値を取得 CO2_data=CO2_Sensor(); //値を送信 - /*--CO2_Sensor:end-------------------------------------------------------------------------------------*/ + /*--CO2_Sensor:end-----------------------------------------------------------------*/ //ホームポジション if() Dyna_home_position();