AVR Libc Home Page
AVR Libc Development Pages
Main Page
User Manual
Library Reference
FAQ
Alphabetical Index
Example Projects
examples
stdiodemo
defines.h
1
/*
2
* ----------------------------------------------------------------------------
3
* "THE BEER-WARE LICENSE" (Revision 42):
4
* <joerg@FreeBSD.ORG> wrote this file. As long as you retain this notice you
5
* can do whatever you want with this stuff. If we meet some day, and you think
6
* this stuff is worth it, you can buy me a beer in return. Joerg Wunsch
7
* ----------------------------------------------------------------------------
8
*
9
* General stdiodemo defines
10
*
11
* $Id: defines.h 2186 2010-09-22 10:25:15Z aboyapati $
12
*/
13
14
/* CPU frequency */
15
#define F_CPU 1000000UL
16
17
/* UART baud rate */
18
#define UART_BAUD 9600
19
20
/* HD44780 LCD port connections */
21
#define HD44780_RS A, 6
22
#define HD44780_RW A, 4
23
#define HD44780_E A, 5
24
/* The data bits have to be not only in ascending order but also consecutive. */
25
#define HD44780_D4 A, 0
26
27
/* Whether to read the busy flag, or fall back to
28
worst-time delays. */
29
#define USE_BUSY_BIT 1
Automatically generated by Doxygen 1.8.7 on Tue Aug 12 2014.