Subversion Repositories Projects

Rev

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

Rev 1515 Rev 1526
Line 36... Line 36...
36
#include <avr/pgmspace.h>
36
#include <avr/pgmspace.h>
37
#include "lcd.h"
37
#include "lcd.h"
38
#include "timer.h"
38
#include "timer.h"
39
#include "eeprom.h"
39
#include "eeprom.h"
40
#include "messages.h"
40
#include "messages.h"
-
 
41
#include "lipo.h"
Line 41... Line 42...
41
 
42
 
42
#if defined HWVERSION1_3W || defined HWVERSION3_9
43
#if defined HWVERSION1_3W || defined HWVERSION3_9
43
//--------------------------------------------------------------
44
//--------------------------------------------------------------
44
void Change_Output(uint8_t UartMode)    // Schaltet die Rx/Tx Richtungen
45
void Change_Output(uint8_t UartMode)    // Schaltet die Rx/Tx Richtungen
Line 114... Line 115...
114
                lcd_puts_at(0, 5, strGet(CONNECT23), 0);
115
                lcd_puts_at(0, 5, strGet(CONNECT23), 0);
115
                lcd_puts_at(12, 7, strGet(ESC), 0);
116
                lcd_puts_at(12, 7, strGet(ESC), 0);
116
                set_BTOn();
117
                set_BTOn();
Line 117... Line 118...
117
 
118
 
118
                Change_Output(USB2FC);
119
                Change_Output(USB2FC);
-
 
120
                do
-
 
121
                  {
-
 
122
                    show_Lipo();
119
 
123
                  }
Line 120... Line 124...
120
                while(!get_key_press (1 << KEY_ESC));
124
                while(!get_key_press (1 << KEY_ESC));
121
 
125
 
122
                get_key_press(KEY_ALL);
126
                get_key_press(KEY_ALL);
Line 177... Line 181...
177
//              lcd_printp_at (12, 7, PSTR("Esc"), 0);
181
//              lcd_printp_at (12, 7, PSTR("Esc"), 0);
178
                 lcd_puts_at(12, 7, strGet(ESC), 0);
182
                 lcd_puts_at(12, 7, strGet(ESC), 0);
179
                set_BTOn();
183
                set_BTOn();
Line 180... Line 184...
180
 
184
 
181
                Change_Output(USB2Wi);
-
 
-
 
185
                Change_Output(USB2Wi);
-
 
186
                do
-
 
187
                  {
-
 
188
                    show_Lipo();
182
 
189
                  }
Line 183... Line 190...
183
                while(!get_key_press (1 << KEY_ESC));
190
                while(!get_key_press (1 << KEY_ESC));
184
 
191
 
185
                get_key_press(KEY_ALL);
192
                get_key_press(KEY_ALL);
Line 268... Line 275...
268
//      lcd_printp_at (0, 5, PSTR("MK-Tool starten      "), 0);
275
//      lcd_printp_at (0, 5, PSTR("MK-Tool starten      "), 0);
269
//      lcd_printp_at (12, 7, PSTR("Esc"), 0);
276
//      lcd_printp_at (12, 7, PSTR("Esc"), 0);
270
        lcd_puts_at(0, 5, strGet(CONNECT23), 0);
277
        lcd_puts_at(0, 5, strGet(CONNECT23), 0);
271
        lcd_puts_at(12, 7, strGet(ESC), 0);
278
        lcd_puts_at(12, 7, strGet(ESC), 0);
272
        Change_Output(USB2FC);
279
        Change_Output(USB2FC);
273
 
280
        do
-
 
281
          {
-
 
282
            show_Lipo();
-
 
283
          }
274
        while(!get_key_press (1 << KEY_ESC));
284
        while(!get_key_press (1 << KEY_ESC));
Line 275... Line 285...
275
 
285
 
276
        get_key_press(KEY_ALL);
286
        get_key_press(KEY_ALL);
277
        if (U02SV2 == 1)
287
        if (U02SV2 == 1)
Line 305... Line 315...
305
                lcd_puts_at(0, 5, strGet(CONNECT23), 0);
315
                lcd_puts_at(0, 5, strGet(CONNECT23), 0);
306
                lcd_puts_at(12, 7, strGet(ESC), 0);
316
                lcd_puts_at(12, 7, strGet(ESC), 0);
307
//              lcd_printp_at (12, 7, PSTR("Esc"), 0);
317
//              lcd_printp_at (12, 7, PSTR("Esc"), 0);
Line 308... Line 318...
308
 
318
 
309
                Change_Output(USB2Wi);
319
                Change_Output(USB2Wi);
-
 
320
                do
-
 
321
                  {
-
 
322
                    show_Lipo();
310
 
323
                  }
Line 311... Line 324...
311
                while(!get_key_press (1 << KEY_ESC));
324
                while(!get_key_press (1 << KEY_ESC));
312
 
325
 
313
                get_key_press(KEY_ALL);
326
                get_key_press(KEY_ALL);