TinyCircuits Forum
General Category => General Discussion => Topic started by: mjllewelyn on December 27, 2017, 05:28:53 PM
-
I was wondering if there was a way to have a .txt file on a SD card and be able to display that on the TinyScreen+. I know there is code found https://tinycircuits.com/blogs/learn/120988679-putting-images-on-your-tinyscreen for displaying images, but I was wondering if there was a way to display a .txt file.
I am also wondering if there is a way to wrap text on a TinyScreen+.
Thanks for your help.
-
well you could read from the txt file and do display.print(textFile);
-
What would be your advice on getting the TS+ to read the txt file. I tried taking this code https://tinycircuits.com/blogs/learn/120988679-putting-images-on-your-tinyscreen and replacing .TSV with .txt but that didn't work. I also tried:
fileInfo.read("Test.txt");
display.print("Test.txt");
but that didn't work either. If you could help.
Thanks.