Subversion Repositories Projects

Compare Revisions

Ignore whitespace Rev 329 → Rev 330

/C-OSD/trunk/CHANGE.LOG
18,6 → 18,9
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
****************************************************************************/
 
20090401-1741 (shaddi)
+ More precise Veriometer. Uses more more characters to show the speed of the movement
(Character-Set 232 needs to be flashed!)
20090331-1549
+ simple config menu during runtime, press S1 to jump in, S2 to cyle and S1 to accept choice
- S1 no longer requests the NC data
39,4 → 42,4
* modified incoming data speed to 100ms (was 200ms)
 
20090326-2031
+ first binary release
+ first binary release
/C-OSD/trunk/c-osd.mcm
14856,49 → 14856,41
01010101
01010101
01010101
01010110
01010101
10010101
01010110
01101010
10101010
01010110
01010101
10010101
01010110
01101010
01010101
01010101
01010101
01010101
01010101
01010101
01010101
01010101
01010101
01010101
00000000
00000000
00000000
00101010
10101010
01011001
01100101
10010110
01101001
01100101
10010110
01011001
01101010
10101000
00101010
10101010
01011001
10101000
00001010
10101010
10100000
01010010
10101010
10000101
01010100
10101010
00010101
01010101
10010101
01011001
01100101
10010101
01011001
01011001
10010101
01011001
01010110
00101000
01010101
01011001
01011001
10010101
01011001
01011001
01100101
01011001
01100101
01011010
01010101
01000001
01010101
01010101
01010101
14920,49 → 14912,58
01010101
01010101
01010101
01010110
01010101
01010101
01010101
01010101
01010101
01010101
01010101
01010101
01010101
01010101
01010101
01010101
01010101
01010101
01010101
01010101
01010101
01010101
01010101
01010101
00000000
00000000
00000000
00101010
10101010
10101000
00101010
10101010
01010110
01010110
01010110
01010110
01010110
01010110
01010110
10101000
00000000
00101000
00000000
01010101
00101000
01010101
01000000
00101000
00000001
00101010
10101010
10101000
01001010
10101010
01010110
01010110
01010110
01010110
01010110
01010110
01010110
10100001
01010010
10101010
10000101
01010100
10101010
01010110
01010110
01010110
01010110
01010110
01010110
01010110
01010110
01010110
01010110
01010110
01010110
01011001
01010110
01010110
01011001
01010110
01010110
01100101
01010110
01011010
00010101
01010101
00101000
01010101
01010101
01010101
14984,48 → 14985,32
01010101
01010101
01010101
01000001
01010101
10101001
10101001
01010101
01011001
01011001
10101001
10101001
10101001
10011001
01011001
01011001
10011001
10101001
10101001
10011001
01011001
01011001
10101001
01100101
10010101
10011001
00101000
01010101
01010100
10101010
00010101
01010010
10101010
10011001
01100101
10010101
10011001
01101010
10101001
10101001
01100101
10010101
10000101
00001010
10101010
10100000
00101010
10101010
10101000
00101010
10101010
10101000
00000000
00000000
00000000
01010101
01101010
10101001
01010101
01100101
10010101
01010101
01101010
10101010
01010101
01010101
01010101
15042,51 → 15027,53
01010101
01010101
01010101
01010110
10101010
10100101
01010110
01010101
01100101
01010110
10101010
10100101
01010110
01010101
01100101
01010110
10101010
10100101
01010101
01010101
01010101
01101010
01010101
01010101
01010101
01010101
01010101
01010101
01010101
01010101
00101000
01010101
01010100
10101010
00010101
01010010
10101010
01010110
01011001
01100101
01010110
10000101
01001010
10101010
10100101
01010110
01011001
01100101
01010110
10100001
00101010
10101010
10100101
10101000
01000000
00101000
00000001
01010101
01011001
00101000
01010101
01010110
00000000
00101000
00000000
00101010
10101010
10100101
10101000
00101010
10101010
10101000
00000000
00000000
00000000
01010101
01011001
01010101
01101010
10101010
10101010
01010101
01010101
01010101
15106,6 → 15093,19
01010101
01010101
01010101
01010101
01010101
01010101
01010101
01010101
01010101
01010101
01010101
01010101
01010101
01010101
01010101
01010101
01000000
00000000
00000000
/C-OSD/trunk/main.c
1283,6 → 1283,54
learn_char(230, ce6);
learn_char(231, ce7);
#endif
 
#if WRITECHARS == 232
 
// small arrow down
unsigned char ce8[54] = {0x55,0x55,0x55,0x55,0x55,0x55,0x55,0x55,
0x55,0x55,0x55,0x55,0x55,0x55,0x55,0x55,
0x55,0x55,0x55,0x55,0x55,0x00,0x00,0x00,
0x2a,0xaa,0xa8,0x2a,0xaa,0xa8,0x0a,0xaa,
0xa0,0x52,0xaa,0x85,0x54,0xaa,0x15,0x55,
0x28,0x55,0x55,0x41,0x55,0x55,0x55,0x55,
0x55,0x55,0x55,0x55,0x55,0x55};
 
// big arrow down
unsigned char ce9[54] = {0x55,0x55,0x55,0x55,0x55,0x55,0x55,0x55,
0x55,0x55,0x55,0x55,0x55,0x55,0x55,0x55,
0x55,0x55,0x55,0x55,0x55,0x00,0x00,0x00,
0x2a,0xaa,0xa8,0x2a,0xaa,0xa8,0x00,0x28,
0x00,0x55,0x28,0x55,0x40,0x28,0x01,0x2a,
0xaa,0xa8,0x4a,0xaa,0xa1,0x52,0xaa,0x85,
0x54,0xaa,0x15,0x55,0x28,0x55};
 
// small arrow up
unsigned char cea[54] = {0x55,0x55,0x55,0x55,0x55,0x55,0x55,0x55,
0x55,0x55,0x41,0x55,0x55,0x28,0x55,0x54,
0xaa,0x15,0x52,0xaa,0x85,0x0a,0xaa,0xa0,
0x2a,0xaa,0xa8,0x2a,0xaa,0xa8,0x00,0x00,
0x00,0x55,0x55,0x55,0x55,0x55,0x55,0x55,
0x55,0x55,0x55,0x55,0x55,0x55,0x55,0x55,
0x55,0x55,0x55,0x55,0x55,0x55};
 
// big arrow up
unsigned char ceb[54] = {0x55,0x28,0x55,0x54,0xaa,0x15,0x52,0xaa,
0x85,0x4a,0xaa,0xa1,0x2a,0xaa,0xa8,0x40,
0x28,0x01,0x55,0x28,0x55,0x00,0x28,0x00,
0x2a,0xaa,0xa8,0x2a,0xaa,0xa8,0x00,0x00,
0x00,0x55,0x55,0x55,0x55,0x55,0x55,0x55,
0x55,0x55,0x55,0x55,0x55,0x55,0x55,0x55,
0x55,0x55,0x55,0x55,0x55,0x55};
 
learn_char(232, ce8);
learn_char(233, ce9);
learn_char(234, cea);
learn_char(235, ceb);
 
#endif
 
 
 
#endif // write char general
/* ##########################################################################
* continue normal main
1435,11 → 1483,15
 
if (naviData.Variometer == 0) {
write_char_xy(20, top_line, 206); // plain line
} else if (naviData.Variometer > 0) {
write_char_xy(20, top_line, 207); // arrow up
} else if (naviData.Variometer > 0 && naviData.Variometer <= 10) {
write_char_xy(20, top_line, 234); // small arrow up
} else if (naviData.Variometer > 10) {
write_char_xy(20, top_line, 235); // big arrow up
} else if (naviData.Variometer < 0 && naviData.Variometer >= -10) {
write_char_xy(20, top_line, 232); // small arrow down
} else {
write_char_xy(20, top_line, 205); // arrow down
}
write_char_xy(20, top_line, 233); //big arrow down
}
 
// TODO: is this really dm?
write_number_s(22, top_line, naviData.Altimeter/10);