CPS-Lab1 / Mbed 2 deprecated Lab7

Dependencies:   MPL3115A2 mbed

ReadMe.txt

Committer:
csinders
Date:
2018-03-09
Revision:
4:dd5899b3eb3b
Child:
5:327b79f5428c

File content as of revision 4:dd5899b3eb3b:

Documentation on how we set up this assignment.

We created an array to hold the values that we read from the Altimeter.  
We read values every half second and store them in the array.  When a p is pressed
we print out all of the values in the array.  We have the initial values for the array set to -1
to easily differentitate between the read values and the values that are already in it.
We set pin A4 as an interrupt pin and constantly read from it to see if it has 
electricity flowing through it for if we should read values.  Effectively 
having it act as a button for when to start. Graph will be included on Canvas upload.