tr
Diff: N5110.h
- Revision:
- 8:40abe5736eca
- Parent:
- 7:3010f24e0a81
- Child:
- 10:6f3abb40202b
diff -r 3010f24e0a81 -r 40abe5736eca N5110.h --- a/N5110.h Mon May 19 18:23:21 2014 +0000 +++ b/N5110.h Mon May 19 18:45:48 2014 +0000 @@ -193,6 +193,15 @@ * TODO: Randomise the seed - maybe using the noise on the AnalogIn pins. */ void randomiseBuffer(); + + /** Plot Array + * + * This function plots a one-dimensional array on the display. The values in the array + * correspond to the y values of the plot and these are plotted along the x-axis (one + * value per pixel along the x-axis of the display. This means only the first 84 values are + * plotted. y values in the array should be normalised in the range 0.0 to 1.0. + */ + void plotArray(float array[]); private: void initSPI();