96,7 → 96,9 |
PORTB = 0x00; |
for(timer = 0; timer < 1000; timer++); // verzögern |
if(PINB & 0x01) PlatinenVersion = 11; else PlatinenVersion = 10; |
DDRC = 0x81; // SCL |
// Salvo 9.12.2007 PC4 als Ausgang |
// DDRC = 0x81; // SCL |
DDRC = 0x91; // SCL und PC4 |
PORTC = 0xff; // Pullup SDA |
DDRB = 0x1B; // LEDs und Druckoffset |
PORTB = 0x01; // LED_Rot |
115,7 → 117,9 |
StickGier = 0; PPM_in[K_GAS] = 0;StickRoll = 0; StickNick = 0; |
|
ROT_OFF; |
|
|
|
|
Timer_Init(); |
UART_Init(); |
rc_sum_init(); |
170,7 → 174,10 |
SetNeutral(); |
|
ROT_OFF; |
|
// Salvo 9.12.2007 Defaultwert fuer Umschaltsignal fuer RX: Bluettooth Modul aktiv |
RX_SWTCH_OFF; |
// Salvo End |
|
beeptime = 2000; |
DebugIn.Analog[1] = 1000; |
DebugIn.Digital[0] = 0x55; |