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.
Dependencies: BufferedSerial
Diff: HistogramCell.h
- Revision:
- 6:1c84602323c8
- Parent:
- 4:6ebe8982de0e
diff -r 5653e559a67b -r 1c84602323c8 HistogramCell.h
--- a/HistogramCell.h Mon May 06 21:37:07 2019 +0000
+++ b/HistogramCell.h Tue May 14 17:15:43 2019 +0000
@@ -4,17 +4,15 @@
class HistogramCell {
public:
- int cellVal;
- float x;
- float y;
+ float cellVal;
+ float logodds;
- void calculate(int idX, int idY){
- //this is cells position in coordinate system
- // we add 2,5cm to get position of middle point of the cell not its starting point
- x=idX*5+2.5;
- y=idY*5+2.5;
+ HistogramCell(){
+ cellVal = 0;
+ logodds = 0;
}
};
+
#endif //UNTITLED2_HISTOGRAMCELL_H