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:
- 8:a22aec357a64
- Parent:
- 7:ad013d88a539
- Child:
- 9:220e4e77e056
diff -r ad013d88a539 -r a22aec357a64 TVDCTRL.h --- a/TVDCTRL.h Wed Jul 27 03:30:35 2016 +0000 +++ b/TVDCTRL.h Wed Jul 27 04:45:07 2016 +0000 @@ -74,7 +74,7 @@ const int LINEAR_REGION_VOLTAGE =(int)(0xFFFF/3.3 * 1.0); //トルクに回転数が影響しない領域の境界値(出力電圧値) const int MAX_REVOLUTION_TORQUE =(int)(MAX_MOTOR_TORQUE/45.0 * 13.5); //最高回転数における最大出力トルク -const double FIX_DACOUTFORM =(double)((0xFFF/3.3 * 2.5)/0xFFFF); +const double FIX_DACOUTFORM =(double)(((0xFFF/3.3) * 2.5)/0xFFFF); const int MAX_PULSE_TIME =5000; //12000rpmが最高回転数