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
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!


Arduino Forum > Using Arduino > Displays > LCD and SD


arduino

Comments

Popular posts from this blog

Convierte tu Raspberry en un NAS. Firmware fvdw-sl 15.3 - Raspberry Pi Forums

How to format a Get Request

avrdude: verification error, first mismatch at byte 0x0000 0x0c != 0x62