seanwitte
09-02-2006, 09:01
In this thread Don Reid found what he believes is an error in the dashboard spec published by IFI. http://www.chiefdelphi.com/forums/showpost.php?p=446985&postcount=1.
I realize that the build season is coming down to the wire, but if someone has five minutes to validate his results I would really appreciate it. This software http://www.chiefdelphi.com/forums/papers.php?s=&action=single&paperid=593 has been downloaded 87 times. If you are able to do me this one favor you'll earn my gratitude.
In the default code, replace Process_Data_From_Master_uP() with the following code, the download it to the robot controller and run it. The dashboard should display 111, 122, 133, 144, 155, 166 for the user bytes.
void Process_Data_From_Master_uP(void)
{
Getdata(&rxdata);
Generate_Pwms(pwm13,pwm14,pwm15,pwm16);
pwm01 = pwm02 = pwm03 = pwm04 = 127;
pwm05 = pwm06 = pwm07 = pwm08 = 127;
pwm09 = pwm10 = pwm11 = pwm12 = 127;
pwm13 = pwm14 = pwm15 = pwm16 = 127;
User_Byte1 = 111;
User_Byte2 = 122;
User_Byte3 = 133;
User_Byte4 = 144;
User_Byte5 = 155;
User_Byte6 = 166;
Putdata(&txdata);
}
I realize that the build season is coming down to the wire, but if someone has five minutes to validate his results I would really appreciate it. This software http://www.chiefdelphi.com/forums/papers.php?s=&action=single&paperid=593 has been downloaded 87 times. If you are able to do me this one favor you'll earn my gratitude.
In the default code, replace Process_Data_From_Master_uP() with the following code, the download it to the robot controller and run it. The dashboard should display 111, 122, 133, 144, 155, 166 for the user bytes.
void Process_Data_From_Master_uP(void)
{
Getdata(&rxdata);
Generate_Pwms(pwm13,pwm14,pwm15,pwm16);
pwm01 = pwm02 = pwm03 = pwm04 = 127;
pwm05 = pwm06 = pwm07 = pwm08 = 127;
pwm09 = pwm10 = pwm11 = pwm12 = 127;
pwm13 = pwm14 = pwm15 = pwm16 = 127;
User_Byte1 = 111;
User_Byte2 = 122;
User_Byte3 = 133;
User_Byte4 = 144;
User_Byte5 = 155;
User_Byte6 = 166;
Putdata(&txdata);
}