Rev 407 | Rev 412 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 407 | Rev 408 | ||
---|---|---|---|
Line 517... | Line 517... | ||
517 | write_char_xy(22, 5, 204); // small meters m |
517 | write_char_xy(22, 5, 204); // small meters m |
518 | write_ascii_string_pgm(2, 6, stats_item_pointers[1]); // max Speed |
518 | write_ascii_string_pgm(2, 6, stats_item_pointers[1]); // max Speed |
519 | write_ndigit_number_u(19, 6, (uint16_t) (((uint32_t) max_GroundSpeed * (uint32_t)9) / (uint32_t)250), 100, 0); |
519 | write_ndigit_number_u(19, 6, (uint16_t) (((uint32_t) max_GroundSpeed * (uint32_t)9) / (uint32_t)250), 100, 0); |
520 | write_char_xy(22, 6, 203); // km/h |
520 | write_char_xy(22, 6, 203); // km/h |
521 | write_ascii_string_pgm(2, 7, stats_item_pointers[2]); // max Distance |
521 | write_ascii_string_pgm(2, 7, stats_item_pointers[2]); // max Distance |
522 | write_ndigit_number_u(19, 7, max_Distance / 100, 100, 0); |
522 | write_ndigit_number_u(19, 7, max_Distance / 10, 100, 0); |
523 | write_char_xy(22, 7, 204); // small meters m |
523 | write_char_xy(22, 7, 204); // small meters m |
524 | write_ascii_string_pgm(2, 8, stats_item_pointers[3]); // min voltage |
524 | write_ascii_string_pgm(2, 8, stats_item_pointers[3]); // min voltage |
525 | write_ndigit_number_u_10th(18, 8, min_UBat, 100, 0); |
525 | write_ndigit_number_u_10th(18, 8, min_UBat, 100, 0); |
526 | write_char_xy(22, 8, 0x9E); // small v |
526 | write_char_xy(22, 8, 0x9E); // small v |
527 | write_ascii_string_pgm(2, 9, stats_item_pointers[4]); // max time |
527 | write_ascii_string_pgm(2, 9, stats_item_pointers[4]); // max time |