22 lines
378 B
C++
Executable File
22 lines
378 B
C++
Executable File
#ifndef Graph_h
|
|
#define Graph_h
|
|
#include <Arduino.h>
|
|
#include "Ecran.h"
|
|
#include "Point.h"
|
|
|
|
class Graph {
|
|
public :
|
|
Graph(Ecran * ecran, int x0, int y0 ,int x1, int y1);
|
|
void drawAxes();
|
|
void drawTitle();
|
|
void drawDatas();
|
|
void drawGraph();
|
|
public :
|
|
Ecran * ecran;
|
|
int x0, y0,x1, y1;
|
|
String title, axe_x, axe_y;
|
|
Point datas[];
|
|
};
|
|
|
|
#endif
|