![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
Allow user to connect multiple screen.
uLCD_Multiscreen/uLCD_Multiscreen.h
- Committer:
- Ratchapong
- Date:
- 2015-03-11
- Revision:
- 0:052d0f82433e
File content as of revision 0:052d0f82433e:
#ifndef ULCD_MULTISCREEN_H #define ULCD_MULTISCREEN_H #include "VirtualScreen.h" #include "uLCD_4DGL.h" /** * CLass represents an interface for seemlessly writing to multiple uLCD screens * in parallel. */ class uLCD_Multiscreen { private: VirtualScreen<int, uLCD_4DGL> virtualScreen; int screen_count; public: uLCD_Multiscreen(vector<uLCD_4DGL*> screens); void cls(); void unfilledRectangle(int x, int y, int w, int h, int color); void drawLine(int x1,int y1,int x2, int y2, int color); void unfilledCirlce(int x0, int y0, int radius, int color); void changeBackground(int color); void setBaudRate(int rate); }; #endif