Defines | Functions | Variables

UartDisplay.c File Reference

UartDisplay Main File. More...

#include <avr/io.h>
#include <avr/interrupt.h>
#include <avr/pgmspace.h>
#include <util/delay.h>
#include <stdlib.h>
#include "lcd.h"
#include "uart.h"
#include "button.h"
#include "buzzer.h"
Include dependency graph for UartDisplay.c:

Go to the source code of this file.

Defines

#define DISPLAY_bp   4
#define BACKLIGHT_bp   5

Functions

void timer2_init (void)
 Initializes timer2.
int main (void)
 ISR (TIMER2_OVF_vect)

Variables

uint8_t cnt = 0
uint8_t cnt2 = 0
uint8_t scroll
 scroll enable flag

Detailed Description

UartDisplay Main File.

Authors:
Dominic Rathje (dominic.rathje@uni-ulm.de)
Christian Degenhart (christian.degenhart@uni-ulm.de)
Version:
1.2
Note:
  • Compiler : WinAVR 20100110
  • Supported devices : ATMega8

Definition in file UartDisplay.c.


Function Documentation

void timer2_init ( void   ) [inline]

Initializes timer2.

  • Prescaler is set to 1024
  • Overflow Interrput enabled.

Definition at line 53 of file UartDisplay.c.