Ahh - I see now you meant this specifically for accellog.
accellog
Yes, in that case I'd be tempted to use file.getLength()/15 (15 is a guess) to get a fast but 'good enough' length estimate.
file.getLength()/15
@Gordon started
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Ahh - I see now you meant this specifically for
accellog
.Yes, in that case I'd be tempted to use
file.getLength()/15
(15 is a guess) to get a fast but 'good enough' length estimate.