Snake Game using accelerometer with many fun features.

Dependencies:   C12832 MMA7660 mbed

Fork of app-board-Bubble-Level by jim hamblen

motion_detect.h

Committer:
Xinliang_Zhao
Date:
2015-02-19
Revision:
3:2d625f49afb9
Parent:
2:dd83ac1aba6c

File content as of revision 3:2d625f49afb9:

int pow(int x);
void motion_detect(int &direction);
void validity();