コード例 #1
0
ファイル: main.c プロジェクト: Anisotropies/Micromoose-3.0
/* * * * * * * * * * * * * * * * * * * *
 *            Speed Profile            *
 *     Calculate what current speed    *
 * for each wheel should be and set it *
 * * * * * * * * * * * * * * * * * * * */
void speedProfile()
{
	getEncoderStatus();
	updateCurrentSpeed();
	calculateMotorPwm();
	//displayMatrix("5");
}
コード例 #2
0
ファイル: speedProfile.c プロジェクト: ktain/Slither2.0
void speedProfile(void)
{	
	getEncoderStatus();
	updateCurrentSpeed();
	calculateMotorPwm();
}