$treeview $search $mathjax $extrastylesheet
avr-libc
2.0.0
$projectbrief
|
$projectbrief
|
$searchbox |
AVR Libc Home Page |
AVR Libc Development Pages |
||||
Main Page |
User Manual |
Library Reference |
FAQ |
Example Projects |
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$ 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