Im trying to read text in SD card and display on the LCD but it display 2 weird characters after the text. What is it and why does it show up?
Here is my code:
SD card read files with LCD
Here is my code:
Code (Text):
- #include <SD.h>
- #include <SPI.h>
- #include <LiquidCrystal_I2C.h>
- LiquidCrystal_I2C lcd(0x3F, 2, 1, 0, 4, 5, 6, 7);
- File myFile;
- const int CSpin = 10;
- void setup() {
- // put your setup code here, to run once:
- Serial.begin(9600);
- pinMode(CSpin, OUTPUT);
- SD.begin(CSpin);
- lcd.begin(20,4);
- lcd.setBacklightPin(3,...