![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
Allow user to connect multiple screen.
Diff: uLCD_Multiscreen/Blit.cpp
- Revision:
- 0:052d0f82433e
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/uLCD_Multiscreen/Blit.cpp Wed Mar 11 05:00:37 2015 +0000 @@ -0,0 +1,14 @@ +#include "Blit.h" +Blit::Blit(int x, int y, int w, int h, int *colors) { + this->x = x; + this->y = y; + this->w = w; + this->h = h; + this->colors = new int[w*h]; + for (int i = 0; i < w*h; i++) { + this->colors[i] = colors[i]; + } +} +void Blit::execute(uLCD_4DGL* uLCD) { + uLCD->BLIT(x,y,w,h,colors); +}