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
pin_config.h
- Committer:
- watarushimoda
- Date:
- 2021-10-14
- Revision:
- 2:47a31619fb14
- Parent:
- 0:6f4b2005b633
- Child:
- 8:baa4572de340
File content as of revision 2:47a31619fb14:
#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より小さくなるはず #define MD_A D7 #define MD_B D8 #endif