![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
Allow user to connect multiple screen.
Diff: uLCD_Multiscreen/uLCD_Multiscreen.h
- Revision:
- 0:052d0f82433e
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/uLCD_Multiscreen/uLCD_Multiscreen.h Wed Mar 11 05:00:37 2015 +0000 @@ -0,0 +1,22 @@ +#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