C Language Development Kit/Functions/PrintSymbol
From OptiWiki
| Description | This function prints a symbol on the screen. With this function it is possible
to show the bitmap for all the codes defined in a font, also for codes like 0x0A and 0x0D. |
| Syntax | void printsymbol(unsigned int symbol); |
| Arguments | the character that is to be showed on the display.
unsigned int symbol |
| Returns | None |
| Remarks | The cursor position is not updated by this function.
The setecho() function controls displaying characters while typing. |
| Example | #include "lib.h" #include <stdio.h> void main( void ) { for(;;) { printf("\f"); // clear screen printsymbol( 0xF3 ); delay( 50 ); // wait 1 second printsymbol( 0xF4 ); delay( 50 ); // wait 1 second printsymbol( 0xF5 ); delay( 50 ); // wait 1 second printsymbol( 0xF6 ); delay( 50 ); // wait 1 second } } |
