An accelerometer driven drum kit for the STM32f4-Discovery board