Subversion Repositories Projects

Rev

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

Rev 761 Rev 783
Line 195... Line 195...
195
        string++;
195
        string++;
196
    }
196
    }
197
}
197
}
Line 198... Line 198...
198
 
198
 
-
 
199
/**
-
 
200
 *  write an ascii <string> with lenght <len> at <x>/<y> to MAX7456 display memory
-
 
201
 */
-
 
202
void write_ascii_string_len(uint8_t x, uint8_t y, char *string, uint8_t len) {
-
 
203
    while (len--) {
-
 
204
        write_ascii_char(((x++)+(y * 30)), *string);
-
 
205
        string++;
-
 
206
    }
-
 
207
}
-
 
208
 
199
/**
209
/**
200
 *  write an ascii <string> from progmen at <x>/<y> to MAX7456 display memory
210
 *  write an ascii <string> from progmen at <x>/<y> to MAX7456 display memory
201
 */
211
 */
202
void write_ascii_string_pgm(uint8_t x, uint8_t y, const char *string) {
212
void write_ascii_string_pgm(uint8_t x, uint8_t y, const char *string) {
203
    while (pgm_read_byte(string) != 0x00)
213
    while (pgm_read_byte(string) != 0x00)