Post Reply 
newRPL: [UPDATED April 27-2017] Firmware for testing available for download
06-05-2017, 02:17 AM
Post: #684
RE: newRPL: [UPDATED April 27-2017] Firmware for testing available for download
(06-04-2017 10:01 PM)Claudio L. Wrote:  
(06-03-2017 06:40 PM)smartin Wrote:  Got it. But after playing around a bit (moving programs back and forth between a PC and the 50g), I found that having a command in newRPL to create a new file would be useful (analogous to SDCRDIR). I found the only way I could write a program file (ASCII) to the SD card from the 50g was if I already had an empty file to write to (which I had to create on the PC side). SDTSTO will certainly help address this issue, but still having a command in newRPL to create a new (empty) file may be useful.

-Steve

I don't understand, SDOPENWR will create a file if it doesn't exist, or truncate to zero bytes if it does. It didn't work?

Oh, that's operator error Smile. Yes, it does work. I was using the following syntax to open the file in the root of the SDcard

Code:

":3:testfile" SDOPENWR

which fails, instead of

Code:

":3:/testfile" SDOPENWR

which works.

-Steve
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: newRPL: [UPDATED April 27-2017] Firmware for testing available for download - smartin - 06-05-2017 02:17 AM



User(s) browsing this thread: