Updated OCE 360 Assignment 4
Dependencies: 4DGL-uLCD-SE MMA8452Q mbed physics_ball
Revision 5:5b888a1a3b98, committed 2017-12-07
- Comitter:
- Kaitlyn_Barros
- Date:
- Thu Dec 07 23:34:36 2017 +0000
- Parent:
- 4:241bf0f0e626
- Commit message:
- Assignment 6
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Thu Dec 07 23:20:55 2017 +0000 +++ b/main.cpp Thu Dec 07 23:34:36 2017 +0000 @@ -12,7 +12,11 @@ //Software Exercise 5: //1. Update the ball postion using the accelerometer's data at 50Hz. Update the LCD display w/ ball postions at 11HZ. -//2. Use a buttom interrupt to turn data recording on/off. Use an onboard LED to indicate recording. +//2. Use a buttom interrupt to turn data recording on/off. Use an onboard LED to indicate recording. + +//Software Exercise 6: +//Install a button to freeze the balls for 2 seconds when pressed. +//Configure a freefall into the accel that freezes the balls when sensed. #include "mbed.h" //Mbed Header #include "physics_ball.h" // Physics Ball Behavior Header