Ignore:
Timestamp:
01/19/11 15:44:25 (14 years ago)
Author:
lutz
Message:
niculin & dom debugged quite some stuff
File:
1 edited

Legend:

Unmodified
Added
Removed
  • firmware/FSC/src/spare_outs.c

    r10094 r10109  
    1 #include "spare_outs.h"
    2 #include <avr/io.h>
    3 
    4 void spare_outs_init(void)
    5 {
    6         DDRB |= (1<<PB2) | (1<<PB3);    // set Out1_spare & out2_spare as outputs
    7 
    8         DDRA &= ~(1<<PA7);                              // set In1_spare as input
    9         DDRC &= ~(1<<PC7);                              // set In2_spare as input
    10         PORTA |= (1<<PA7);                              // swtich on pullup on In1_spare
    11         PORTC |= (1<<PC7);                              // swtich on pullup on In2_spare
    12 
    13 }
Note: See TracChangeset for help on using the changeset viewer.