Subversion Repositories FlightCtrl

Rev

Rev 2111 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2111 Rev 2135
Line 6... Line 6...
6
 
6
 
Line 7... Line 7...
7
DebugOut_t debugOut;
7
DebugOut_t debugOut;
8
 
8
 
9
void output_init(void) {
9
void output_init(void) {
10
  // set PC2 & PC3 as output (control of J16 & J17)
10
  // set PC2 & PC3 as output (control of J16 & J17)
11
  DDRB |= (1 << DDB4) | (1 << DDB5);
11
  DDRB |= (1 << DDB1) | (1 << DDB2);
12
  outputSet(0,0);
12
  outputSet(0,0);
13
  outputSet(1,0);
13
  outputSet(1,0);
14
  flashCnt[0] = flashCnt[1] = 0;
14
  flashCnt[0] = flashCnt[1] = 0;