Rev 329 | Rev 331 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 329 | Rev 330 | ||
---|---|---|---|
Line 1281... | Line 1281... | ||
1281 | learn_char(228, ce4); |
1281 | learn_char(228, ce4); |
1282 | learn_char(229, ce5); |
1282 | learn_char(229, ce5); |
1283 | learn_char(230, ce6); |
1283 | learn_char(230, ce6); |
1284 | learn_char(231, ce7); |
1284 | learn_char(231, ce7); |
1285 | #endif |
1285 | #endif |
- | 1286 | ||
- | 1287 | #if WRITECHARS == 232 |
|
- | 1288 | ||
- | 1289 | // small arrow down |
|
- | 1290 | unsigned char ce8[54] = {0x55,0x55,0x55,0x55,0x55,0x55,0x55,0x55, |
|
- | 1291 | 0x55,0x55,0x55,0x55,0x55,0x55,0x55,0x55, |
|
- | 1292 | 0x55,0x55,0x55,0x55,0x55,0x00,0x00,0x00, |
|
- | 1293 | 0x2a,0xaa,0xa8,0x2a,0xaa,0xa8,0x0a,0xaa, |
|
- | 1294 | 0xa0,0x52,0xaa,0x85,0x54,0xaa,0x15,0x55, |
|
- | 1295 | 0x28,0x55,0x55,0x41,0x55,0x55,0x55,0x55, |
|
- | 1296 | 0x55,0x55,0x55,0x55,0x55,0x55}; |
|
- | 1297 | ||
- | 1298 | // big arrow down |
|
- | 1299 | unsigned char ce9[54] = {0x55,0x55,0x55,0x55,0x55,0x55,0x55,0x55, |
|
- | 1300 | 0x55,0x55,0x55,0x55,0x55,0x55,0x55,0x55, |
|
- | 1301 | 0x55,0x55,0x55,0x55,0x55,0x00,0x00,0x00, |
|
- | 1302 | 0x2a,0xaa,0xa8,0x2a,0xaa,0xa8,0x00,0x28, |
|
- | 1303 | 0x00,0x55,0x28,0x55,0x40,0x28,0x01,0x2a, |
|
- | 1304 | 0xaa,0xa8,0x4a,0xaa,0xa1,0x52,0xaa,0x85, |
|
- | 1305 | 0x54,0xaa,0x15,0x55,0x28,0x55}; |
|
- | 1306 | ||
- | 1307 | // small arrow up |
|
- | 1308 | unsigned char cea[54] = {0x55,0x55,0x55,0x55,0x55,0x55,0x55,0x55, |
|
- | 1309 | 0x55,0x55,0x41,0x55,0x55,0x28,0x55,0x54, |
|
- | 1310 | 0xaa,0x15,0x52,0xaa,0x85,0x0a,0xaa,0xa0, |
|
- | 1311 | 0x2a,0xaa,0xa8,0x2a,0xaa,0xa8,0x00,0x00, |
|
- | 1312 | 0x00,0x55,0x55,0x55,0x55,0x55,0x55,0x55, |
|
- | 1313 | 0x55,0x55,0x55,0x55,0x55,0x55,0x55,0x55, |
|
- | 1314 | 0x55,0x55,0x55,0x55,0x55,0x55}; |
|
- | 1315 | ||
- | 1316 | // big arrow up |
|
- | 1317 | unsigned char ceb[54] = {0x55,0x28,0x55,0x54,0xaa,0x15,0x52,0xaa, |
|
- | 1318 | 0x85,0x4a,0xaa,0xa1,0x2a,0xaa,0xa8,0x40, |
|
- | 1319 | 0x28,0x01,0x55,0x28,0x55,0x00,0x28,0x00, |
|
- | 1320 | 0x2a,0xaa,0xa8,0x2a,0xaa,0xa8,0x00,0x00, |
|
- | 1321 | 0x00,0x55,0x55,0x55,0x55,0x55,0x55,0x55, |
|
- | 1322 | 0x55,0x55,0x55,0x55,0x55,0x55,0x55,0x55, |
|
- | 1323 | 0x55,0x55,0x55,0x55,0x55,0x55}; |
|
- | 1324 | ||
- | 1325 | learn_char(232, ce8); |
|
- | 1326 | learn_char(233, ce9); |
|
- | 1327 | learn_char(234, cea); |
|
- | 1328 | learn_char(235, ceb); |
|
- | 1329 | ||
- | 1330 | #endif |
|
- | 1331 | ||
- | 1332 | ||
- | 1333 | ||
1286 | #endif // write char general |
1334 | #endif // write char general |
1287 | /* ########################################################################## |
1335 | /* ########################################################################## |
1288 | * continue normal main |
1336 | * continue normal main |
1289 | * ##########################################################################*/ |
1337 | * ##########################################################################*/ |
Line 1433... | Line 1481... | ||
1433 | 1481 | ||
Line 1434... | Line 1482... | ||
1434 | write_ascii_string(17, top_line, directions[heading_conv(naviData.CompassHeading)]); |
1482 | write_ascii_string(17, top_line, directions[heading_conv(naviData.CompassHeading)]); |
1435 | 1483 | ||
- | 1484 | if (naviData.Variometer == 0) { |
|
- | 1485 | write_char_xy(20, top_line, 206); // plain line |
|
1436 | if (naviData.Variometer == 0) { |
1486 | } else if (naviData.Variometer > 0 && naviData.Variometer <= 10) { |
- | 1487 | write_char_xy(20, top_line, 234); // small arrow up |
|
- | 1488 | } else if (naviData.Variometer > 10) { |
|
1437 | write_char_xy(20, top_line, 206); // plain line |
1489 | write_char_xy(20, top_line, 235); // big arrow up |
1438 | } else if (naviData.Variometer > 0) { |
1490 | } else if (naviData.Variometer < 0 && naviData.Variometer >= -10) { |
1439 | write_char_xy(20, top_line, 207); // arrow up |
1491 | write_char_xy(20, top_line, 232); // small arrow down |
1440 | } else { |
1492 | } else { |
Line 1441... | Line 1493... | ||
1441 | write_char_xy(20, top_line, 205); // arrow down |
1493 | write_char_xy(20, top_line, 233); //big arrow down |
1442 | } |
1494 | } |
Line 1443... | Line 1495... | ||
1443 | 1495 |