This class encapsulates all the algorithms required for the displaying strings and time dependent patterns on the lcd.

Dependents:   200943412_QuickClick

Display.h

Committer:
domkay97
Date:
2017-04-11
Revision:
2:f0ecd70c9ea2
Parent:
1:41a1c20a2056
Child:
4:b74041216336

File content as of revision 2:f0ecd70c9ea2:

#ifndef DISPLAY_H
#define DISPLAY_H

#include "mbed.h"
#include "N5110.h"


class Display
{

public:
    Display();
    ~Display();
    void init();
    void drawCircle(N5110 &lcd); 
    void random_instruction(N5110 &lcd); 
    void Circle(N5110 &lcd); 
    

     
private:
    void calculateWait();   
    void circle_refresh();
    void Drawarc(N5110 &lcd, int a);
    int _h;
    float _w;
    int _a;
    int _A; 
    int _v; 
    int x; 
    int y;  
    int x0;
    int y0;
    int radiusError;

};
#endif