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.
Revision 4:96f38805f055, committed 2019-04-29
- Comitter:
- yuto17320508
- Date:
- Mon Apr 29 07:02:33 2019 +0000
- Parent:
- 3:7a608fbd3bcd
- Commit message:
- ss
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Sat Apr 27 08:13:01 2019 +0000
+++ b/main.cpp Mon Apr 29 07:02:33 2019 +0000
@@ -114,12 +114,12 @@
void reset()
{
while(switch_lo.read()) {
- out_lo(0.05);
+ out_lo(0.12);
}
ec_lo.reset();
out_lo(0);
while(switch_li.read()) {
- out_li(0.05);
+ out_li(0.10);
}
ec_li.reset();
@@ -129,7 +129,7 @@
void out_lo(double duty)
{
- double dutylimit=0.1;
+ double dutylimit=0.2;
if(duty > 0) { //入力duty比が正の場合
//if(duty-pre_out_r >accel_max && pre_out_l*duty>0)duty=pre_out_r+accel_max;
@@ -157,7 +157,7 @@
void out_li(double duty)
{
- double dutylimit=0.1;
+ double dutylimit=0.2;
if(duty > 0) { //入力duty比が正の場合
//if(duty-pre_out_r >accel_max && pre_out_l*duty>0)duty=pre_out_r+accel_max;