Add text file to sketch arduino

Hello!

I want to add a file text of less than 1kb (650) to my sketch to save it in an array. When I drag the file to the Arduino IDE, it creates a folder called data with the text inside. I don't want to do image processing, just pointing some lasers where there are spaces, I don't have the SD shield or card and I think that it is too much space for 1kb text file.

Is this file added? how can I get the data of the file? Should I use include?

My textfile is attached

image2.txt (650 Bytes)

You can put the text, not the .txt file into PROGMEM and read it back where you need it. It's actually quite easy to do.

char myText[] = 
"QQQQQQQQQQQQQQQQQQQQQQQQQ"
"QQQQQQQQQQQQQQQQQQQQQQQQQ"
"QQQQQQQQQQQQQQQQQQQQQQQQQ"
"QQQQQQQQQQQQQQQQQQQQQQQQQ"
"QQQQQQQQQQQQQQQQQQQQQQQQQ"
"QQQQQQQQQQQQQQQQQQQQQQQQQ"
"QQQQQQQQQQQQQQQQQQQQQQQQQ"
"QQQQQQQQQQQP???QQQQQQQQQQ"
"QQQQQQQQQP'    )WQQQQQQQQ"
"QQQQQQQQ'       QQQQQQQQQ"
"QQQQQQQ'        QQQQQQQQQ"
"QQQQQQ'         QQQQQQQQQ"
"QQQQQP         jQQQQQQQQQ"
"QQQQQ        aQQQQQQQQQQQ"
"QQQQf      _QQQQQQQQQQQQQ"
"QQQQf      QQQQQQQQQQQQQQ"
"QQQQf      )4QQQQQQQQQQQQ"
"QQQQf        )4QQQQQQQQQQ"
"QQQQ6           )4QQQQQQQ"
"QQQQQ6                 4Q"
"QQQQQQ6                 4"
"QQQQQQQQa               ]"
"QQQQQQQQQQa             ]"
"QQQQQQQQQQQQaa          ]"
"QQQQQQQQQQQQQQQaaa     _Q";

All of the lines will be concatenated into one long string of characters. If you want lie-endinging characters on each line you can add them before the close quotes: \r for Return. \n for newline or both.