Updated seizure detector to use ADXL345 digital accelerometer or an analogue one.