CPS-Lab1 / Mbed 2 deprecated Lab7

Dependencies:   MPL3115A2 mbed

Committer:
csinders
Date:
Fri Mar 09 16:46:27 2018 +0000
Revision:
4:dd5899b3eb3b
Child:
5:327b79f5428c
Included ReadMe file for documentation/

Who changed what in which revision?

UserRevisionLine numberNew contents of line
csinders 4:dd5899b3eb3b 1 Documentation on how we set up this assignment.
csinders 4:dd5899b3eb3b 2
csinders 4:dd5899b3eb3b 3 We created an array to hold the values that we read from the Altimeter.
csinders 4:dd5899b3eb3b 4 We read values every half second and store them in the array. When a p is pressed
csinders 4:dd5899b3eb3b 5 we print out all of the values in the array. We have the initial values for the array set to -1
csinders 4:dd5899b3eb3b 6 to easily differentitate between the read values and the values that are already in it.
csinders 4:dd5899b3eb3b 7 We set pin A4 as an interrupt pin and constantly read from it to see if it has
csinders 4:dd5899b3eb3b 8 electricity flowing through it for if we should read values. Effectively
csinders 4:dd5899b3eb3b 9 having it act as a button for when to start. Graph will be included on Canvas upload.