Allow user to connect multiple screen.

Dependencies:   mbed-rtos mbed

uLCD_Multiscreen/DrawPixel.cpp

Committer:
Ratchapong
Date:
2015-03-11
Revision:
0:052d0f82433e

File content as of revision 0:052d0f82433e:

#include "DrawPixel.h"
#include "uLCD_4DGL.h"
DrawPixel::DrawPixel(int x, int y, int color) {
    this->x = x;
    this->y = y;
    this->color = color;
}
void DrawPixel::execute(uLCD_4DGL* uLCD) {
    uLCD->pixel(x,y,color);     
}