M Mostez Well-Known Member Licensed User Longtime User Apr 29, 2017 #1 Hello, is it possible to stream progmem declared array directly without using tmp array, if yes kindly indicate how. Regards Code: Copy tmparray = getProgmemArray astream.write2(tmparray,0,tmparray.length) Code: Copy astream.write2(PmemArray,0,PmemArray.length)
Hello, is it possible to stream progmem declared array directly without using tmp array, if yes kindly indicate how. Regards Code: Copy tmparray = getProgmemArray astream.write2(tmparray,0,tmparray.length) Code: Copy astream.write2(PmemArray,0,PmemArray.length)
Erel B4X founder Staff member Licensed User Longtime User Apr 30, 2017 #2 No. You need to read each byte and write it. If you want to read it all to memory then don't use PROGMEM. The point of using PROGMEM is to save memory. Don't worry about performance. It will be very fast. Upvote 0
No. You need to read each byte and write it. If you want to read it all to memory then don't use PROGMEM. The point of using PROGMEM is to save memory. Don't worry about performance. It will be very fast.
M Mostez Well-Known Member Licensed User Longtime User Apr 30, 2017 #3 Erel said: The point of using PROGMEM is to save memory Click to expand... Yes Erel, That's why I used progmem Thanks Upvote 0
Erel said: The point of using PROGMEM is to save memory Click to expand... Yes Erel, That's why I used progmem Thanks