Mmm... I haven't seen any that let you do that, but there very well may be.
The ADXL345 has a dizzying variety of options, but I don't recall a way to record peak acceleration (though you can have it drive an interrupt pin if acceleration exceeds a certain level, among many other optional criteria).
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.
Mmm... I haven't seen any that let you do that, but there very well may be.
The ADXL345 has a dizzying variety of options, but I don't recall a way to record peak acceleration (though you can have it drive an interrupt pin if acceleration exceeds a certain level, among many other optional criteria).