Subversion Repositories FlightCtrl

Rev

Rev 1775 | Rev 1849 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1775 Rev 1805
Line 134... Line 134...
134
  // while(!CheckDelay(timer));
134
  // while(!CheckDelay(timer));
Line 135... Line 135...
135
 
135
 
136
  // Instead, while away the time by flashing the 2 outputs:
136
  // Instead, while away the time by flashing the 2 outputs:
137
  // First J16, then J17. Makes it easier to see which is which.
137
  // First J16, then J17. Makes it easier to see which is which.
138
  timer = SetDelay(200);
138
  timer = SetDelay(200);
139
  OUTPUT_ON(0);
139
  OUTPUT_SET(0,1);
140
  GRN_OFF;
140
  GRN_OFF;
141
  RED_ON;
141
  RED_ON;
Line 142... Line 142...
142
  while(!CheckDelay(timer));
142
  while(!CheckDelay(timer));
143
 
143
 
144
  timer = SetDelay(200);
144
  timer = SetDelay(200);
145
  OUTPUT_OFF(0);
145
  OUTPUT_SET(0,0);
146
  OUTPUT_ON(1);
146
  OUTPUT_SET(1,1);
147
  RED_OFF;
147
  RED_OFF;
Line 148... Line 148...
148
  GRN_ON;
148
  GRN_ON;
149
  while(!CheckDelay(timer));
149
  while(!CheckDelay(timer));
150
 
150
 
Line 151... Line 151...
151
  timer = SetDelay(200);
151
  timer = SetDelay(200);
Line 152... Line 152...
152
  while(!CheckDelay(timer));
152
  while(!CheckDelay(timer));