Created
February 16, 2019 08:22
-
-
Save OrsoEric/cdade14a5b2487cf4fc2ad1b7e0f867d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Decide if i'm using the D0-D3 or D4-D7 of the LCD port in 4BIT mode | |
//NOTE: Enable only one of the following defines | |
//#define LCD_PORT_HIGH | |
#define LCD_PORT_LOW | |
//DATA - LCD DATA PORT | |
#define LCD_PORT PORTA | |
//RS - LCD Register Select | |
#define RS_PORT PORTA | |
#define RS_PIN PA4 | |
//EN - LCD Enable, Strobe 010 to execute an operation | |
#define EN_PORT PORTA | |
#define EN_PIN PA5 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment