Main Page | Class Hierarchy | Alphabetical List | Data Structures | Directories | File List | Data Fields | Globals

conio.c File Reference

Implementation: console input / output. More...

#include <conio.h>
#include <mem.h>

Go to the source code of this file.

Functions

void delay (unsigned ms)
 delay approximately ms mSec


Detailed Description

Implementation: console input / output.

Author:
Markus L. Noga <markus@noga.de>
Warning:
If CONF_LCD_REFRESH is set in config.h, the kernel will refresh the display automatically every 100ms. Otherwise, display updates are realized exclusively by lcd_refresh().
Display positions
Digit display positions are denumerated from right to left, starting with 0 for the digit right to the running man. Digit 5 is only partially present on the RCXs display.
Native segment masks
In these bitmasks, bit 0 toggles the middle segment. Bit 1 toggles the top right segment, and the remaining segments are denumerated counterclockwise. The dot isn't encoded because it is desirable to seperate its positioning from the number display code.

Definition in file conio.c.


Function Documentation

void delay unsigned  ms  ) 
 

delay approximately ms mSec

Parameters:
ms approximate time in ms

Definition at line 204 of file conio.c.

Referenced by kmain(), and show_on().


Generated on Fri Feb 25 08:02:43 2005 for brickos by  doxygen 1.3.9.1