View Single Post
  #1   Spotlight this post!  
Unread 09-02-2006, 09:01
seanwitte seanwitte is offline
Registered User
None #0116
Team Role: Engineer
 
Join Date: Nov 2002
Location: Herndon, VA
Posts: 378
seanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant future
Send a message via AIM to seanwitte
Favor to ask re: dashboard

In this thread Don Reid found what he believes is an error in the dashboard spec published by IFI. http://www.chiefdelphi.com/forums/sh...85&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/pa...le&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.
Code:
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);  
}