available memory in puckjs for data collection #3230
Replies: 2 comments
-
|
Posted at 2019-12-26 by AkosLukacs Not really, most of flash and memory is utilised by Espruino. Or add an SD card, and you have as much space as big your SD card is. And it's easier to read: Just pop in your computer, and read it! |
Beta Was this translation helpful? Give feedback.
-
|
Posted at 2019-12-26 by Robin Thr 2019.12.26
Or, pick up a WiFi SD card and just link to it!!
> 'Compressed 36000 bytes to 2643' For clarification: this refers to code compression during the
> 'If I save the example code with save(); I get . . . . Which is saved to RAM if I'm correct?' I believe the understanding there (#1 post) is backwards. Ref the following:
'When you upload code to Espruino normally, it is stored in Espruino's RAM' Fully understanding how a JsVar fits in, can be daunting > https://www.espruino.com/Internals a really, really rough rule of thumb would be to multiply the 'free' space by ten (actually 12 or 16 depending on many coding factors), our human mental model, for a really rough approximation of free RAM in bytes for data collection. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Posted at 2019-12-25 by Dutch_Peter
Hi,
I used the Data Collection example from:
https://www.espruino.com/Data+Collection
If I save the example code with save(); I get this result:
Compressed 36000 bytes to 2643
Which is saved to RAM if I'm correct. There is 64kB of RAM available, so this we will have plenty of room left.
There is 512kB Flash memory as well.
Does this mean I have 512kB of Flash memory available for data collection?
Thanks, Regards, Peter
Beta Was this translation helpful? Give feedback.
All reactions