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-12
Revision:
7:635883dd8c35
Parent:
6:8840d7e48ce7
Child:
9:1e25dcab4927

File content as of revision 7:635883dd8c35:

#ifndef DISPLAY_H
#define DISPLAY_H

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


class Display
{

public:
    Display();
    ~Display();
    void init();
    void drawCircle(N5110 &lcd); 
    void display_instruction(N5110 &lcd, int ran); 
    void Circle(N5110 &lcd); 
    void calculateWait();  

     
private:
    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 radiusMod;

};
#endif