Subversion Repositories FlightCtrl

Rev

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

Rev 206 Rev 218
Line 24... Line 24...
24
        SPSR = (1<<SPI2X);
24
        SPSR = (1<<SPI2X);
25
        DDRB |= (1<<PB2)|(1<<PB7)|(1<<PB5); // J8, SCK, MOSI Ausgang (MicroMag3)
25
        DDRB |= (1<<PB2)|(1<<PB7)|(1<<PB5); // J8, SCK, MOSI Ausgang (MicroMag3)
Line 26... Line 26...
26
               
26
               
27
        MM3.AXIS = MM3_X;
27
        MM3.AXIS = MM3_X;
-
 
28
        MM3.STATE = MM3_RESET;
-
 
29
       
28
        MM3.STATE = MM3_RESET;
30
        PORTD &= ~(1<<PD3);     // J5 einmalig auf Low -> SSNOT
Line 29... Line 31...
29
}
31
}
30
 
32