- Wed Dec 24, 2014 10:30 am
#5617
LS,
Thanks for your work. Please be assured that my remarks are "just for improving "and not critism.
Working with v0.1 version 203 on windows 8.1
Found the autosave options and have now set them to my likings, didn't look too well earlier I suppose, sorry about that.
The clearing of log and terminal (ctrl F1/F2) does indeed solve the "speed" issue.
`With the snippets : You might consider putting (copies of) the snippets buttons below the file edit and/or the terminal/log window.
As you already noticed I am always looking at ways to reduce mouse/keyboard clicks.
That way you define/test the snippets in the edit tab and they are ready at hand for usage when actual testing/working on your project.
Maybe even an alt-0 to alt-9 option for the first 10 for even quicker start.
Did some testing on an alternative "Save to ESP" routine.
I entered
Code: Select allfile.remove("uploadtest.lua")
file.open("uploadtest.lua","w+")
dofile("uarton.lua")
by using alt-B or snippet
with this as uarton.lua
Code: Select alluart.setup( 0, 9600, 8, 0, 1, 0 )
uart.on("data",
function(data)
-- do not write first char as that is curremtly the CR or LF from the prvious line
file.writeline(string.sub(data,2))
if string.match(data,"^[\r\n]*quit$") then
uart.on("data")
uart.setup( 0, 9600, 8, 0, 1, 1 )
end
end, 0)
set ESPorer in "dumb mode"
Then send the code using "Send to ESP" from an open file in the edit tab
unset "dumb mode"
send "quit" to stop the load
send file.close()
First preliminary tests show that this upload methods takes about 30% compared to the "Save to RESP" option.
Will keep you informed.
Noticed that you strip the leading blanks from a line when "send to esp" is that intentional ?
At least is also saves filesize on esp. Maybe also consider that with your current "Save to ESP" ?
Kind regards,
Herman