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: Conways_Game_Life uVGAII_demo 4DGLtest_CalSol uVGA_4180
Revision 6:d0dca0ddc329, committed 2010-10-17
- Comitter:
- Kerpower
- Date:
- Sun Oct 17 10:11:49 2010 +0000
- Parent:
- 5:52d54f5b52cd
- Child:
- 7:38db58dc6f4d
- Commit message:
Changed in this revision
| TFT_4DGL.h | Show annotated file Show diff for this revision Revisions of this file |
--- a/TFT_4DGL.h Sun Oct 17 09:53:50 2010 +0000
+++ b/TFT_4DGL.h Sun Oct 17 10:11:49 2010 +0000
@@ -178,15 +178,13 @@
// General Commands
-/** Clear screen
-*/
+/** Clear the entire screen using the current background colour */
void cls();
-/** Reset screen
-*/
+/** Reset screen */
void reset();
-/** Launch Autobaud for serial communication
-*/
+
+/** Launch Autobaud for serial communication. This function is automatically called at startup */
void autobaud();
/** Set serial Baud rate (both sides : screen and mbed)
*
@@ -194,15 +192,24 @@
*/
void baudrate(int speed);
-/** Set background color to the specified value
+/** Set background colour to the specified value
*
* @param color in HEX RGB like 0xFF00FF
*/
void background_color(int color);
- void display_control(char, char);
+/** Set screen display mode to specific values
+*
+* @param mode See 4DGL documentation
+* @param value See 4DGL documentation
+*/
+ void display_control(char mode, char value);
- void set_volume(char);
+/** Set internal speaker to specified value
+*
+* @param value Correct range is 8 - 127
+*/
+ void set_volume(char value);
// Graphics Commands
void circle(int, int, int, int);
uVGAII