Quote Originally Posted by HenrikOlsson View Post
It should, try it. Just make sure file1 is declared big enough to hold the string.
Thanks, Henrik...it looks like it worked. The way I tested it was to write the file1 array elements to EEPROM so I could see each letter after the program ran and whether the result from the ARRAYWRITE statement did what I wanted. It did.
Now I have a follow on problem that maybe you can advise me on.
I had to build this text file name so I could use it in a SEROUT2 command over a serial interface to a ConnectOne iWiFi MiniSocket module that is connected to my microcontroller PIC 16F886. The iWiFi module requires AT+i statements to send it FTP commands in a specific format. I think that this command should open the filename "15hour.txt" via this FTP command, however so far I haven't been able to see the FTP'd data show up in the file named by the filename . Any suggestions?
Code:
SEROUT2 TX,84,["AT+iFSTO:000,",STR filename\10,$d,$a]