Unix-style Fortune teller text display on LCD
Dependencies: 4DGL-uLCD-SE SDFileSystem mbed
Diff: main.cpp
- Revision:
- 1:4d5e6b8edd00
- Parent:
- 0:672a66c015ca
- Child:
- 2:7507d0c0e509
--- a/main.cpp Mon Mar 09 02:09:20 2015 +0000 +++ b/main.cpp Mon Mar 09 02:44:24 2015 +0000 @@ -21,7 +21,7 @@ fprintf(fp, "It is much harder to find a job than to keep one.\nNo act of kindness, no matter how small, is ever wasted. -- Aesop\nDistance doesn't make you any smaller, but it does make you part of a larger picture.\nGod instructs the heart, not by ideas, but by pains and contradictions. -- De Caussade\nYou can always tell the people that are forging the new frontier. They're the ones with arrows sticking out of their backs.\nMan belongs wherever he wants to go. -- Wernher von Braun\nLife is too important to take seriously -- Corky Siegel\nShe never liked zippers, she said, until she opened one in bed.\nSales tax applies.\nGod created a few perfect heads. The rest he covered with hair.\n"); fclose(fp); - printf("Aperte o botao\n");//lets you know when the file is created + printf("Press the button\n");//lets you know when the file is created while (true){ if (pb == 1){ //open the file to be read