#ifndef __CONFIG_H
#define __CONFIG_H
/*******************************************************
** CONFIGURATION
** 02.07.2012 li nibobee/anzeige
**/

// --------------------- main.c ---------------------------
#define RBUF_SIZE 20

// --------------------- basis.c ---------------------------
#define BA_E99                // edit 99
#define BA_PRUEF              // pruefziffer
#define BA_EHEX               // edit hex
#define BA_ATOI               // convert ascii to integer

// --------------------- uart.c ---------------------------
#define BAUDRATE 2400UL       // baudrate
#define UART_BUFSIZE_HW  32   // uart hardware buffer

// --------------------- clock.c ---------------------------

// --------------------- lcd.c ---------------------------
#define EA_DIP204_4           // Diverse Aenderungen erforderlich

#define LCD_PWM_TIM0          // Timer 0 simuliert PWM
#define LCD_LED_PWM           // pwm backlight

#define LCD_SHIFT     8
#define LCD_CNTL_DDR  DDRC
#define LCD_CNTL_PORT PORTC

#define LCD_CP        BIT0    // shift clock
#define LCD_DA        BIT1    // DATA input / RS
#define LCD_EN        BIT2    // enable (strobe)
#define LCD_LED       BIT3    // Beleuchtungs LED

#define LCD_CHARS      20     // chars per line
#define LCD_LINES       4     // Zeilen


#endif
