Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: TouchScreenCalibrate TouchScreenGUIDemo
Fork of UniGraphic by
Diff: Display/LCD.cpp
- Revision:
- 33:5743f9c16aa2
- Parent:
- 27:acb2594b8aa4
- Child:
- 34:091b954c3205
--- a/Display/LCD.cpp Mon Mar 28 10:48:45 2016 +0000 +++ b/Display/LCD.cpp Mon Apr 11 16:54:35 2016 +0000 @@ -39,8 +39,8 @@ buffer16 = (unsigned short*)buffer; draw_mode = NORMAL; set_orientation(1); - foreground(White); - background(Black); + setForeground(White); + setBackground(Black); set_auto_up(true); tftID=0; // cls(); @@ -63,8 +63,8 @@ buffer16 = (unsigned short*)buffer; draw_mode = NORMAL; set_orientation(1); - foreground(White); - background(Black); + setForeground(White); + setBackground(Black); set_auto_up(true); tftID=0; // cls(); @@ -88,8 +88,8 @@ draw_mode = NORMAL; // cls(); set_orientation(1); - foreground(White); - background(Black); + setForeground(White); + setBackground(Black); set_auto_up(true); tftID=0; // locate(0,0);