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.
Process.h
00001 #ifndef PROCESS_H_ 00002 #define PROCESS_H_ 00003 00004 #include "mbed.h" 00005 00006 00007 void SystemProcess(); 00008 00009 #define TIRE_FL 0 00010 #define TIRE_BL 1 00011 #define TIRE_BR 2 00012 #define TIRE_FR 3 00013 #define MOTOR_0 4 00014 00015 #define StertSW LimitSw::IsPressed(12) //スタートスイッチ 00016 #define ZoneSW LimitSw::IsPressed(2) //赤・青ゾーン用スイッチ 00017 #define ThSW LimitSw::IsPressed(3) //シーツタオルスイッチ 00018 #define DWSW LimitSw::IsPressed(15) //上下機構上移動スイッチ 00019 #define DOSW LimitSw::IsPressed(14) //上下機構下移動スイッチ 00020 #define AIRSW LimitSw::IsPressed(4) //エアートリガー 00021 #define UPLS LimitSw::IsPressed(11) //上下機構リミット1 00022 #define UPLS2 LimitSw::IsPressed(5) //上下機構リミット2 00023 #define YELLOW LimitSw::IsPressed(13) //掛けるときのライントレース切り替え 00024 #define LIF LimitSw::IsPressed(10) //フェンス用リミット1 00025 #define LIB LimitSw::IsPressed(1) //フェンス用リミット2 00026 #define DOLS LimitSw::IsPressed(0) //上下機構下部リミット 00027 00028 #endif
Generated on Fri Jul 29 2022 21:11:52 by
