AVR Libc Home Page AVRs AVR Libc Development Pages
Main Page User Manual Library Reference FAQ Alphabetical Index Example Projects

defines.h

00001 /*
00002  * ----------------------------------------------------------------------------
00003  * "THE BEER-WARE LICENSE" (Revision 42):
00004  * <joerg@FreeBSD.ORG> wrote this file.  As long as you retain this notice you
00005  * can do whatever you want with this stuff. If we meet some day, and you think
00006  * this stuff is worth it, you can buy me a beer in return.        Joerg Wunsch
00007  * ----------------------------------------------------------------------------
00008  *
00009  * General stdiodemo defines
00010  *
00011  * $Id: defines.h 2186 2010-09-22 10:25:15Z aboyapati $
00012  */
00013 
00014 /* CPU frequency */
00015 #define F_CPU 1000000UL
00016 
00017 /* UART baud rate */
00018 #define UART_BAUD  9600
00019 
00020 /* HD44780 LCD port connections */
00021 #define HD44780_RS A, 6
00022 #define HD44780_RW A, 4
00023 #define HD44780_E  A, 5
00024 /* The data bits have to be not only in ascending order but also consecutive. */
00025 #define HD44780_D4 A, 0
00026 
00027 /* Whether to read the busy flag, or fall back to
00028    worst-time delays. */
00029 #define USE_BUSY_BIT 1

Automatically generated by Doxygen 1.7.3 on Thu May 19 2011.