set nano pins
This commit is contained in:
@@ -49,34 +49,32 @@
|
||||
#define AAIO_KEYPAD_PIN PIND
|
||||
#endif
|
||||
|
||||
/* TODO: change default LCD values for Nano! */
|
||||
|
||||
#ifndef AAIO_LCD_PORT
|
||||
#define AAIO_LCD_PORT PORTL
|
||||
#define AAIO_LCD_PORT PORTC
|
||||
#endif
|
||||
|
||||
#ifndef AAIO_LCD_DDR
|
||||
#define AAIO_LCD_DDR DDRL
|
||||
#define AAIO_LCD_DDR DDRC
|
||||
#endif
|
||||
|
||||
#ifndef AAIO_LCD_SCE
|
||||
#define AAIO_LCD_SCE PL4
|
||||
#define AAIO_LCD_SCE PC4
|
||||
#endif
|
||||
|
||||
#ifndef AAIO_LCD_RST
|
||||
#define AAIO_LCD_RST PL3
|
||||
#define AAIO_LCD_RST PC3
|
||||
#endif
|
||||
|
||||
#ifndef AAIO_LCD_DC
|
||||
#define AAIO_LCD_DC PL2
|
||||
#define AAIO_LCD_DC PC2
|
||||
#endif
|
||||
|
||||
#ifndef AAIO_LCD_DIN
|
||||
#define AAIO_LCD_DIN PL1
|
||||
#define AAIO_LCD_DIN PC1
|
||||
#endif
|
||||
|
||||
#ifndef AAIO_LCD_CLK
|
||||
#define AAIO_LCD_CLK PL0
|
||||
#define AAIO_LCD_CLK PC0
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user