Subversion Repositories FlightCtrl

Rev

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

Rev 1377 Rev 1407
Line 11... Line 11...
11
#define ARRAYGROESSE 10
11
#define ARRAYGROESSE 10
12
unsigned char Array[ARRAYGROESSE] = {1,2,3,4,5,6,7,8,9,10};
12
unsigned char Array[ARRAYGROESSE] = {1,2,3,4,5,6,7,8,9,10};
13
char DisplayBuff[80] = "Hallo Welt";
13
char DisplayBuff[80] = "Hallo Welt";
14
unsigned char DispPtr = 0;
14
unsigned char DispPtr = 0;
Line 15... Line 15...
15
 
15
 
16
unsigned char MaxMenue = 14;
16
unsigned char MaxMenue = 15;
17
unsigned char MenuePunkt = 0;
17
unsigned char MenuePunkt = 0;
Line 18... Line 18...
18
unsigned char RemoteKeys = 0;
18
unsigned char RemoteKeys = 0;
19
 
19
 
Line 172... Line 172...
172
           LCD_printfxy(0,2,"Total:%5umin",FlugMinutenGesamt);
172
           LCD_printfxy(0,2,"Total:%5umin",FlugMinutenGesamt);
173
           LCD_printfxy(13,3,"(reset)");
173
           LCD_printfxy(13,3,"(reset)");
174
                   if(RemoteKeys & KEY4)
174
                   if(RemoteKeys & KEY4)
175
             {
175
             {
176
               FlugMinuten = 0;
176
               FlugMinuten = 0;
177
               eeprom_write_byte(&EEPromArray[EEPROM_ADR_MINUTES2],FlugMinuten / 256);
177
               eeprom_write_byte(&EEPromArray[EEPROM_ADR_MINUTES2],FlugMinuten / 256);
178
               eeprom_write_byte(&EEPromArray[EEPROM_ADR_MINUTES2+1],FlugMinuten % 256);
178
               eeprom_write_byte(&EEPromArray[EEPROM_ADR_MINUTES2+1],FlugMinuten % 256);
179
                         }
179
                         }
180
           break;
180
           break;
181
                   
181
 
182
    default: MaxMenue = MenuePunkt - 1;
182
    default: MaxMenue = MenuePunkt - 1;
183
             MenuePunkt = 0;
183
             MenuePunkt = 0;
184
           break;
184
           break;
185
    }
185
    }
186
    RemoteKeys = 0;
186
    RemoteKeys = 0;