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 QEI led beep softPWM Servo_softpwm IR2302 lpf
Diff: pin_config.h
- Revision:
- 0:6f4b2005b633
- Child:
- 2:47a31619fb14
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/pin_config.h Thu Oct 14 08:44:33 2021 +0000 @@ -0,0 +1,23 @@ +#ifndef PIN_H +#define PIN_H + +#define BEEP PB_10 +#define SDA PB_9 +#define SCL PB_8 +#define STOP PA_5 +#define QEI1 PA_6 +#define QEI2 PA_7 +#define SERVO1 PB_3 +#define SERVO2 PB_4 +#define SERVO3 PB_5 +#define LPF_C_TIME 1.0/60 //制御周期 +#define LPF_A_TIME 0.05 //到達時間 + +#define FURIKO_POWER 0.5 +#define FURIKO_STOP_LINE 50 +#define SET_WAIT 0 //ロリコン依存で振り切った後の待ち時間 +#define SWINGLINE 30 //setからswingに移行するための加速度の大きさ +#define JUMPLINE 80 //飛ぶために必要そうな最高加速度 +#define RELEASELINE 70 //離す瞬間のZ軸の加速度、重力に逆らうので98より小さくなるはず + +#endif \ No newline at end of file