Subversion Repositories Projects

Rev

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

Rev 489 Rev 519
Line 88... Line 88...
88
 *  write an <string> from progmen at <x>/<y> downwards to MAX7456 display memory
88
 *  write an <string> from progmen at <x>/<y> downwards to MAX7456 display memory
89
 */
89
 */
90
void write_string_pgm_down(uint8_t, uint8_t, const char*, uint8_t);
90
void write_string_pgm_down(uint8_t, uint8_t, const char*, uint8_t);
91
 
91
 
92
/**
92
/**
93
 * Write only some digits of a unsigned <number> at <x>/<y> to MAX7456 display memory
93
 * Write a unsigned <number> at <x>/<y> to MAX7456 display memory
94
 * <num> represents the largest multiple of 10 that will still be displayable as
94
 * <length> represents the length to rightbound the number
95
 * the first digit, so num = 10 will be 0-99 and so on
-
 
96
 * <pad> = 1 will cause blank spaced to be filled up with zeros e.g. 007 instead of   7
95
 * <pad> = 1 will cause blank spaced to be filled up with zeros e.g. 007 instead of   7
97
 */
96
 */
98
void write_ndigit_number_u(uint8_t, uint8_t, uint16_t, int16_t, uint8_t);
97
void write_ndigit_number_u(uint8_t, uint8_t, uint16_t, int16_t, uint8_t);
99
 
98
 
100
/**
99
/**
101
 * Write only some digits of a signed <number> at <x>/<y> to MAX7456 display memory
100
 * Write a signed <number> at <x>/<y> to MAX7456 display memory
102
 * <num> represents the largest multiple of 10 that will still be displayable as
101
 * <length> represents the length to rightbound the number
103
 * the first digit, so num = 10 will be 0-99 and so on
-
 
104
 * <pad> = 1 will cause blank spaced to be filled up with zeros e.g. 007 instead of   7
102
 * <pad> = 1 will cause blank spaced to be filled up with zeros e.g. 007 instead of   7
105
 */
103
 */
106
void write_ndigit_number_s(uint8_t, uint8_t, int16_t, int16_t, uint8_t);
104
void write_ndigit_number_s(uint8_t, uint8_t, int16_t, int16_t, uint8_t);
107
 
105
 
108
/**
106
/**
109
 * Write only some digits of a unsigned <number> at <x>/<y> to MAX7456 display memory
107
 * Write a unsigned <number> at <x>/<y> to MAX7456 display memory as /10th of value
110
 * as /10th of the value
-
 
111
 * <num> represents the largest multiple of 10 that will still be displayable as
108
 * <length> represents the length to rightbound the number
112
 * the first digit, so num = 10 will be 0-99 and so on
-
 
113
 * <pad> = 1 will cause blank spaced to be filled up with zeros e.g. 00.7 instead of   .7
109
 * <pad> = 1 will cause blank spaced to be filled up with zeros e.g. 007 instead of   7
114
 */
110
 */
115
void write_ndigit_number_u_10th(uint8_t, uint8_t, uint16_t, int16_t, uint8_t);
111
void write_ndigit_number_u_10th(uint8_t, uint8_t, uint16_t, int16_t, uint8_t);
116
 
112
 
117
/**
113
/**
118
 * Write only some digits of a signed <number> at <x>/<y> to MAX7456 display memory
114
 * Write a signed <number> at <x>/<y> to MAX7456 display memory as /10th of value
119
 * as /10th of the value
-
 
120
 * <num> represents the largest multiple of 10 that will still be displayable as
115
 * <length> represents the length to rightbound the number
121
 * the first digit, so num = 10 will be 0-99 and so on
-
 
122
 * <pad> = 1 will cause blank spaced to be filled up with zeros e.g. 00.7 instead of   .7
116
 * <pad> = 1 will cause blank spaced to be filled up with zeros e.g. 007 instead of   7
123
 */
117
 */
124
void write_ndigit_number_s_10th(uint8_t, uint8_t, int16_t, int16_t, uint8_t);
118
void write_ndigit_number_s_10th(uint8_t, uint8_t, int16_t, int16_t, uint8_t);
125
 
119
 
126
/**
120
/**
127
 *  write <seconds> as human readable time at <x>/<y> to MAX7456 display mem
121
 *  write <seconds> as human readable time at <x>/<y> to MAX7456 display mem