Michael Kuchnik / Mbed 2 deprecated uLCD_Multiscreen

Dependencies:   4DGL-uLCD-SE mbed-rtos mbed

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers DrawPixel.cpp Source File

DrawPixel.cpp

00001 #include "DrawPixel.h"
00002 #include "uLCD_4DGL.h"
00003 DrawPixel::DrawPixel(int x, int y, int color) {
00004     this->x = x;
00005     this->y = y;
00006     this->color = color;
00007 }
00008 void DrawPixel::execute(uLCD_4DGL* uLCD) {
00009     uLCD->pixel(x,y,color);     
00010 }