Fun application for FRDM-KL25Z. Uses the on-board accelerometer's built-in tap detection to detect a sequence of knocks on the table the board is sitting on. If the knock sequence matches the secret knock, it makes it happy (blinks green). Otherwise it gets angry (blinks red).

Dependencies:   MMA8451Q_ext mbed

Fun application for FRDM-KL25Z. Uses the on-board accelerometer's built-in tap detection to detect a sequence of knocks on the table the board is sitting on. If the knock sequence matches the secret knock, it makes it happy (blinks green). Otherwise it gets angry (blinks red).

Right now it doesn't support recording new secret knocks. It only knows, "shave and a hair cut, two bits". There is commented-out code in there to do the recording, but it hasn't been enabled or tested yet.

Download repository: zip gz

Files at revision 0:ac4e452b3199

Name Size Actions
[up]
MMA8451Q_ext.lib 65 Revisions Annotate
main.cpp 9493 Revisions Annotate
mbed.bld 65 Revisions Annotate