Allows users to seamlessly write to 2 or 3 uLCD screens as if they were one large screen.
Dependencies: 4DGL-uLCD-SE mbed-rtos mbed
Diff: DrawPixel.cpp
- Revision:
- 0:15002a72309b
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/DrawPixel.cpp Wed Mar 11 21:33:18 2015 +0000 @@ -0,0 +1,10 @@ +#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); +}