Subversion Repositories FlightCtrl

Rev

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

Rev 1077 Rev 1078
Line 46... Line 46...
46
        {       // Speaker at PC7
46
        {       // Speaker at PC7
47
                DDRC |= (1<<DDC7);
47
                DDRC |= (1<<DDC7);
48
                PORTC &= ~(1<<PORTC7);
48
                PORTC &= ~(1<<PORTC7);
49
        }
49
        }
Line 50... Line 50...
50
 
50
 
51
        // set PB3 and PB4 as output for the PWM used as aoffset for the pressure sensor
51
        // set PB3 and PB4 as output for the PWM used as offset for the pressure sensor
52
        DDRB |= (1<<DDB4)|(1<<DDB3);
52
        DDRB |= (1<<DDB4)|(1<<DDB3);
Line 53... Line 53...
53
        PORTB &= ~((1<<PORTB4)|(1<<PORTB3));
53
        PORTB &= ~((1<<PORTB4)|(1<<PORTB3));