aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTectu <joel@unormal.org>2012-06-07 23:29:55 +0200
committerTectu <joel@unormal.org>2012-06-07 23:29:55 +0200
commitf207bf07eadcd7a80e0c38645c2ca10b3c118468 (patch)
tree23fd179b6dd9d94c9ff8a17401f070403bc033e2
parent6c32f7aa6b9fc98ee85f07a2de45b28648035d0a (diff)
downloaduGFX-f207bf07eadcd7a80e0c38645c2ca10b3c118468.tar.gz
uGFX-f207bf07eadcd7a80e0c38645c2ca10b3c118468.tar.bz2
uGFX-f207bf07eadcd7a80e0c38645c2ca10b3c118468.zip
readme update
-rw-r--r--readme13
1 files changed, 13 insertions, 0 deletions
diff --git a/readme b/readme
index 7e781c27..22d4d267 100644
--- a/readme
+++ b/readme
@@ -4,6 +4,19 @@ Chibios LCD Driver
cd chibios/ext
git clone https://github.com/tectu/Chibios-LCD-Driver lcd
+### Edit boardfiles:
+add the following to your board.h file, matching to your pinconfig:
+ \#define TP_PORT GPIOC
+ #define TP_IRQ 4
+ #define TP_CS 6
+
+ #define LCD_DATA_PORT GPIOE
+ #define LCD_CMD_PORT GPIOD
+ #define LCD_CS 12
+ #define LCD_RS 13
+ #define LCD_WR 14
+ #define LCD_RD 15
+
### Edit Makefile:
include lcd.mk:
include $(CHIBIOS)/ext/lcd/lcd.mk