![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
Allow user to connect multiple screen.
uLCD_Multiscreen/DrawPixel.cpp@0:052d0f82433e, 2015-03-11 (annotated)
- Committer:
- Ratchapong
- Date:
- Wed Mar 11 05:00:37 2015 +0000
- Revision:
- 0:052d0f82433e
Working
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
Ratchapong | 0:052d0f82433e | 1 | #include "DrawPixel.h" |
Ratchapong | 0:052d0f82433e | 2 | #include "uLCD_4DGL.h" |
Ratchapong | 0:052d0f82433e | 3 | DrawPixel::DrawPixel(int x, int y, int color) { |
Ratchapong | 0:052d0f82433e | 4 | this->x = x; |
Ratchapong | 0:052d0f82433e | 5 | this->y = y; |
Ratchapong | 0:052d0f82433e | 6 | this->color = color; |
Ratchapong | 0:052d0f82433e | 7 | } |
Ratchapong | 0:052d0f82433e | 8 | void DrawPixel::execute(uLCD_4DGL* uLCD) { |
Ratchapong | 0:052d0f82433e | 9 | uLCD->pixel(x,y,color); |
Ratchapong | 0:052d0f82433e | 10 | } |