LCD and SD
okay, want read file on sd card , print text (or @ least first 16 characters of text) lcd screen.
currently when run it displays series of numbers tends annoying. want print exact text file.
below code (two attempts @ it) if knows i'm suppose greatly.
thanks
currently when run it displays series of numbers tends annoying. want print exact text file.
below code (two attempts @ it) if knows i'm suppose greatly.
thanks
code: [select]
if (file) {
while(file.available()){
lcd.print(file.read());
}
file.close();
}
code: [select]
if (file) {
int y;
int temp;
char string[16];
for(y = 0; y < 17; y++ ){
string[y] = file.read();
lcd.print(string[y]);
}
file.close();
}
can post of code?
which file, text & where!
which file, text & where!
Arduino Forum > Using Arduino > Displays > LCD and SD
arduino
Comments
Post a Comment