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
BackgroundColor.cpp@0:15002a72309b, 2015-03-11 (annotated)
- Committer:
- Mkuchnik3
- Date:
- Wed Mar 11 21:33:18 2015 +0000
- Revision:
- 0:15002a72309b
First Commit
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
Mkuchnik3 | 0:15002a72309b | 1 | #include "BackgroundColor.h" |
Mkuchnik3 | 0:15002a72309b | 2 | #include "uLCD_4DGL.h" |
Mkuchnik3 | 0:15002a72309b | 3 | BackgroundColor::BackgroundColor(int color) { |
Mkuchnik3 | 0:15002a72309b | 4 | this->color = color; |
Mkuchnik3 | 0:15002a72309b | 5 | } |
Mkuchnik3 | 0:15002a72309b | 6 | void BackgroundColor::execute(uLCD_4DGL* uLCD) { |
Mkuchnik3 | 0:15002a72309b | 7 | uLCD->background_color(color); |
Mkuchnik3 | 0:15002a72309b | 8 | } |