This is a library for 4DGL screens from 4D Systems in Autralia (http://www.4dsystems.com.au). Most graphic, touch and text functions are supported
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);