Subversion Repositories Projects

Rev

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

Rev 346 Rev 349
Line 82... Line 82...
82
 *  write an ascii <string> from progmen at <x>/<y> to MAX7456 display memory
82
 *  write an ascii <string> from progmen at <x>/<y> to MAX7456 display memory
83
 */
83
 */
84
void write_ascii_string_pgm(uint8_t, uint8_t, char*);
84
void write_ascii_string_pgm(uint8_t, uint8_t, char*);
Line 85... Line 85...
85
 
85
 
86
/**
86
/**
87
 *  Write only the last three digits of a <number> at <x>/<y> to MAX7456
87
 * Write only some digits of a unsigned <number> at <x>/<y> to MAX7456 display memory
88
 *  display memory. takes full 16bit numbers as well for stuff
88
 * <num> represents the largest multiple of 10 that will still be displayable as
-
 
89
 * the first digit, so num = 10 will be 0-99 and so on
89
 *  like compass only taking three characters (values <= 999)
90
 * <pad> = 1 will cause blank spaced to be filled up with zeros e.g. 007 instead of   7
90
 */
91
 */
Line 91... Line 92...
91
void write_3digit_number_u(uint8_t, uint8_t, uint16_t);
92
void write_ndigit_number_u(uint8_t, uint8_t, uint16_t, int16_t, uint8_t);
92
 
93
 
93
/**
94
/**
94
 *  Write only the last two digits of a number at <x>/<y> to MAX7456
95
 * Write only some digits of a signed <number> at <x>/<y> to MAX7456 display memory
95
 *  display memory. takes full 16bit numbers as well for stuff
96
 * <num> represents the largest multiple of 10 that will still be displayable as
96
 *  like seconds only taking two characters (values <= 99)
-
 
97
 *  Since this is used for seconds only and it looks better, there
97
 * the first digit, so num = 10 will be 0-99 and so on
98
 *  is a trading 0 attached
98
 * <pad> = 1 will cause blank spaced to be filled up with zeros e.g. 007 instead of   7
99
 */
-
 
100
void write_2digit_number_u(uint8_t, uint8_t, uint16_t);
-
 
101
/**
-
 
102
 *  write a unsigned number as /10th at <x>/<y> to MAX7456 display memory
-
 
Line 103... Line 99...
103
 */
99
 */
104
void write_number_u_10th(uint8_t, uint8_t, uint16_t);
100
void write_ndigit_number_s(uint8_t, uint8_t, int16_t, int16_t, uint8_t);
-
 
101
 
-
 
102
/**
-
 
103
 * Write only some digits of a unsigned <number> at <x>/<y> to MAX7456 display memory
-
 
104
 * as /10th of the value
105
 
105
 * <num> represents the largest multiple of 10 that will still be displayable as
106
/**
106
 * the first digit, so num = 10 will be 0-99 and so on
Line 107... Line 107...
107
 *  write a unsigned number at <x>/<y> to MAX7456 display memory
107
 * <pad> = 1 will cause blank spaced to be filled up with zeros e.g. 00.7 instead of   .7
108
 */
108
 */
-
 
109
void write_ndigit_number_u_10th(uint8_t, uint8_t, uint16_t, int16_t, uint8_t);
-
 
110
 
-
 
111
/**
-
 
112
 * Write only some digits of a signed <number> at <x>/<y> to MAX7456 display memory
109
void write_number_u(uint8_t, uint8_t, uint16_t);
113
 * as /10th of the value
110
 
114
 * <num> represents the largest multiple of 10 that will still be displayable as
Line 111... Line 115...
111
/**
115
 * the first digit, so num = 10 will be 0-99 and so on
112
 *  write a signed number at <x>/<y> to MAX7456 display memory
116
 * <pad> = 1 will cause blank spaced to be filled up with zeros e.g. 00.7 instead of   .7
113
 */
117
 */
114
void write_number_s(uint8_t, uint8_t, int16_t);
118
void write_ndigit_number_s_10th(uint8_t, uint8_t, int16_t, int16_t, uint8_t);