P control worked again【micromouse】


Hello, everyone. Today, I typed the program of P control to recover. Because, I forgot how program about P control.

Please look at this video. Now, it worked well. The reason was “Value of speed is too low”. Some people might know this ”  MTU3.TGRC=MTU4.TGRC=5;  ”  . There are some feature about RX631 in it. If you put some numbers to”  MTU3.TGRC=MTU4.TGRC=5;  “,  the motor move a little bit. (Not only this variable is impossible to make motor move.) Too low variable makes error. And then rapid rotation happens. Do not put 0 to MTU4.TGRC and MTU3.TGRC . IF you would like to stop rotation, you try to do like this “MTU.TSTR.BIT.CST3=0;   MTU.TSTR.BIT.CST4=0;”  . This means that PWM mode was OFF just now. That’s all. See you later.


こんにちは,えいたです.(@Eita32751796)ロボットに家事全般を任せることが夢です('ω')ノ 趣味はロボット製作,洋画やアニメや大河ドラマを見ること,ファッション,Youtuberのゲーム実況鑑賞,美容の勉強,料理調査,運動です./ 最近は マイコンボード製作に没頭/ 『レ・ミゼラブル』鑑賞/ 『進撃の巨人』/ 『青天を衝け』/ 『GU』/ 『FULLGUYS』実況鑑賞/ 『家庭用脱毛器』がほしい/ ヴィーガン料理を作りたい/ 夕方にジョギングしたいがさぼりがち/