Help on writing to flash

I am stuck on writing to flash. Below are the steps taken. I appears to be working but when I open the file on the flash drive I only have non-numeric characters and symbols (lines, music notes, etc). I am communicating with SPI but saw the same results with I2C. What am I doing wrong?

I U0:\r

O 0W>U0:\Test\Voltage.txt\r

W 0>10\r


C 0\r

@ vb74 -

it is saved in binary file, not text file. You can use some applications which can open these files in hex then you will see 1-2-3-4… .
Or you can send ‘1’,‘2’,‘3’,‘4’

But ‘1’ is different 1. Take a look on ASCII table it will tell more.