Thread: Shiftout
View Single Post
  #2   Spotlight this post!  
Unread 12-02-2003, 13:26
Jnadke Jnadke is offline
Go Badgers!
#0093
Team Role: Alumni
 
Join Date: Jan 2002
Location: Appleton, WI
Posts: 775
Jnadke is on a distinguished road
Send a message via ICQ to Jnadke Send a message via AIM to Jnadke Send a message via Yahoo to Jnadke
You should never have to play with those statements.


What you do need to do, is go to the section "DEFINE CONSTANTS FOR INITIALIZATION" and set the constants for the variables you are INPUTING to 1.


Then, just set up your serin statement so that it inputs those variables. Look at the sample serin statement for the order of the variables you choose.


Example:

c_p1_y, c_p2_y, c_p3_y, c_p3_x, c_oi_swA, c_oi_swB, c_sensor1, c_rc_swA, c_rc_swB, and c_PB_mode are all set to 1. The serin statement would look like:

Serin COMA\COMB, INBAUD, [oi_swA,oi_swB,rc_swA,rc_swB,p3_x,PB_mode,sensor1,p 2_y,p1_y,p3_y]
__________________
The best moments of our lives fall in two categories: those that did happen and those that did not.