This time, we learn about simulink stateflow and connecting to mobile to use the data from gyro or acceleration sensor.
At my final project, I use gyro to create a game : Be a hero.
The story for "Be a hero"
you are a worrier for golden state ,your family have been protect the cleveland cavaliers for hunders years.
today , some ninja break in to the palace to assassinate cavaliers ,
So be a hero , protect the cavaliers.
you have to guard this room , ninja will pop out every where in this room.
kill the ninja, be a hero