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 |
116,6 → 118,8 |
|
ROT_OFF; |
|
|
|
Timer_Init(); |
UART_Init(); |
rc_sum_init(); |
170,6 → 174,9 |
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; |