Main Page | Modules | Data Structures | Directories | File List | Data Fields | Globals | Related Pages

# vt100.c File Reference

## Detailed Description

Definition in file vt100.c.

`#include <avr/io.h>`
`#include <avr/interrupt.h>`
`#include <avr/pgmspace.h>`
`#include "global.h"`
`#include "rprintf.h"`
`#include "vt100.h"`

Go to the source code of this file.

## Functions
void | vt100Init (void)
void | vt100ClearScreen (void)
| vt100ClearScreen() clears the terminal screen
void | vt100SetAttr (u08 attr)
void | vt100SetCursorMode (u08 visible)
| vt100SetCursorMode() sets the cursor to visible or invisible
void | vt100SetCursorPos (u08 line, u08 col)

## Function Documentation

void vt100Init | ( | void |  | ) |

| vt100Init() initializes terminal and vt100 library Run this init routine once before using any other vt100 function. Definition at line 35 of file vt100.c.

void vt100SetAttr | ( | u08 | attr | ) |

| vt100SetAttr() sets the text attributes like BOLD or REVERSE Text written to the terminal after this function is called will have the desired attribuutes. Definition at line 48 of file vt100.c.

void vt100SetCursorPos | ( | u08 | line,
|  | u08 | col
| ) |

| vt100SetCursorPos() sets the cursor position All text which is written to the terminal after a SetCursorPos command will begin at the new location of the cursor. Definition at line 64 of file vt100.c.