For uVGAII WebBrowser
Fork of 4DGL by
Diff: TFT_4DGL.h
- Revision:
- 6:d0dca0ddc329
- Parent:
- 5:52d54f5b52cd
- Child:
- 7:38db58dc6f4d
--- 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);