スワップ工房 原付 エンジンチューニング

V100& V50 エンジン チューニング / 16

1190 コメント
views
6 フォロー
16
スワップV100 2022/05/03 (火) 13:21:34 修正

                minRotationCnt = (60000000.0 / cycleTime) / cycle_data ;
                tachoCnt = minRotationCnt;
                if ( maxcnt < tachoCnt )
                     maxcnt = tachoCnt; //MAXカウントは最大値キープ
                WordToStr(maxcnt, buf);
                        Lcd_Out(1, 9, buf);
                        Lcd_Out(1, 14, "rpm");
                WordToStr(tachoCnt, buf);
                        Lcd_Out(1, 1, buf);
                        Lcd_Out(1, 6, "rpm");
                        WordToStr(cycleTime, buf);
                        Lcd_Out(2, 1, buf);
                        WordToStr(cycle_data, buf);
                        Lcd_Out(2, 8, buf);
                        Delay_ms(100);
                Err1:; / error handling code /
                //if (SW == 0)
                        //{//sw=0の時 2行目の1カラムから表示させる
                        //Lcd_Out(2, 1, "SW=00");
                        //Delay_ms(50);
                        //}
                        //else        //sw=0ではない時
                        //{Lcd_Out(2, 8, "SW=not00");
                        //Delay_ms(50);
                        //}
         }
}//~!

以上です

通報 ...