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.
Fork of TVDctrller2017_brdRev1_ver6 by
Diff: TVDCTRL.h
- Revision:
- 15:3255cbe4ff34
- Parent:
- 13:6dc51981f391
- Child:
- 16:7afd623ef48a
--- a/TVDCTRL.h Tue Aug 09 07:52:17 2016 +0000 +++ b/TVDCTRL.h Tue Aug 09 13:17:43 2016 +0000 @@ -70,7 +70,7 @@ //DACは12bit仕様だが一旦16bitに統一してから12bitに変換する const int DACOUTPUT_MIN =(int)(0xFFFF/3.3 * 0.49); //MCの最低入力電圧 -const int DACOUTPUT_MAX =(int)(0xFFFF/3.3 * 2.0); //MCの最大入力電圧 +const int DACOUTPUT_MAX =(int)(0xFFFF/3.3 * 2.5); //MCの最大入力電圧 const int DACOUTPUT_VALID_RANGE =DACOUTPUT_MAX - DACOUTPUT_MIN; //実質有効電圧範囲 const int LINEAR_REGION_TORQUE =(int)(MAX_MOTOR_TORQUE/45.0 * 2.5); //トルクに回転数が影響しない領域の境界値(トルク値)