Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: View.h
- Revision:
- 0:ded79d89abdf
- Child:
- 1:bb1507f0bb64
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/View.h Fri May 01 05:33:50 2015 +0000 @@ -0,0 +1,25 @@ +#include "mbed.h" +#include <vector> +#define BUFFER_SIZE 16 +#define NUMBER_OF_SLICES 360 +#include "Point.h" +#include "EuclidPoint.h" + +class View { + + +//Declare global vars + char slice_data [360][16]; //[slice][specific led distance] (0 is closest) & with approppriate bit for each arm + + void pushData(char [16]); + + public : + int current_slice; + View(); + void nextLedPush(void); + void resetCount(void); + void resetDisplay(void); + void setCurrentSlice(int); + void addPoint(Point); + void addEucPoint(EuclidPoint); +}; \ No newline at end of file