#define LCD_LINES 2 /* visible lines ** 1=the DDR's used are saved and restored */ #define LCD_CHARS_PER_LINE 16 /* visible chars per lcd line */ YOUR LCD PORT LETTER HERE USING CAPITAL LETTER (A,B,C,D.etc) Port(s) must be able to function as output. "LCD_PORT" otherwise you must specify the port of each lcd signal. SETTINGS If you plan to use just one port for all pins then just edit * START OF MODE 6 CONFIGURATION BLOCK */ * START OF SELECTED MODE CONFIGURATION BLOCK */ * 1=limit, error & control chars checking disabled. * 1=function available, 0=not available. #define LCD_DECIMAL_POINT '.'/* WAYS TO REDUCE CODE SIZE BY NOT COMPILING UNWANTED FUNCTIONS OR CODE #define LCD_E_PULSE_WIDTH_US 1/* The decimal point punctuation mark char */ #define LCD_DELAY_TIME_US 100/* THE E PULSE WIDTH IN MICROSECONDS (Timing is accurate)*/ #define LCD_AUTO_LINE_FEED 0/* THE TYPICAL TIME THE LCD NEEDS TO COMPLETE A COMMAND */ #define LCD_IO_MODE 6/* 1 = Auto line feed, 0 = no Auto line feed */ #define F_CPU 8000000 /* CPU CLOCK FREQUENCY */ * GLOBAL SETTINGS (settings described here are applyied everywhere) */ Change these definitions to adapt setting */ Lcd_io.h #ifndef LCD_IO_H#define LCD_IO_H#include
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |