C Language Development Kit/Functions/FlipScreen
From OptiWiki
< C Language Development Kit | Functions(Redirected from C Language Development Kit/Functions/flipscreen)
| Description | The flipscreen() function makes it possible to display the screen content up side down. This can be done automatically when the OPL97xx is placed in its cradle or when the DCL153x is connected by the USB cable or manually at any desired moment. | ||||||||
| Syntax | int flipscreen(int mode); | ||||||||
| Arguments | The action that flipscreen() must perform. One of the following values:
int mode
| ||||||||
| Returns | On success 0 is returned.
On error -1 is returned (occurs if invalid mode was specified) | ||||||||
| Remarks | None | ||||||||
| Example | #include "lib.h" #include <stdio.h> void main( void ) { flipscreen(AUTO); printf("Hello world"); for(;;) idle(); } |
