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: mbed
Diff: HistogramCell.h
- Revision:
- 6:2cd6ae395c0f
- Parent:
- 4:5a892f5ab5a8
--- a/HistogramCell.h Thu Mar 28 10:59:55 2019 +0000
+++ b/HistogramCell.h Fri Apr 05 14:28:09 2019 +0000
@@ -5,15 +5,14 @@
class HistogramCell {
public:
int cellVal;
- double x;
- double y;
+ float x;
+ float y;
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;
-
}
};