Example code for the EM027BS013 ePaper display module.

Dependencies:   EM027BS013 mbed

Revision:
1:6530f3df6024
Parent:
0:02968930216b
Child:
2:7713b53ca9bb
--- a/main.cpp	Tue Jul 22 12:02:06 2014 +0000
+++ b/main.cpp	Tue Jul 22 14:53:59 2014 +0000
@@ -20,7 +20,7 @@
  * ------------------
  * Embedded Artists' LPC4088 QuickStart Board + LPC4088 QSB Base Board. 
  * The display module should be connected with jumper cables between the
- * Arduino so pinlist on the base board and the 14-pos connector on the
+ * Arduino pinlist on the base board and the 14-pos connector (J3) on the
  * display module like this:
  *
  * Arduino    Display
@@ -42,6 +42,59 @@
  */
 #define LPC4088QSB_ARDUINO   D13,D11,D12,D10,D0,D1,P1_31,P1_30,D9,D6,D7,D8
 
+/*
+ * LPC11U68_ARDUINO
+ * ----------------
+ * Connections for the LPCXpresso11U68 board. 
+ * The display module should be connected with jumper cables between the
+ * Arduino pinlist on the LPCXpresso board and the 14-pos connector (J3) on the
+ * display module like this:
+ *
+ * Arduino    Display
+ *   
+ *   GND        J3-1
+ *   AREF       J3-2
+ *   D13        J3-3
+ *   D11        J3-4
+ *   D12        J3-5
+ *   D10        J3-6
+ *   D0         J3-7
+ *   D1         J3-8
+ *   SCL        J3-9
+ *   SDA        J3-10
+ *   D9         J3-11
+ *   D6         J3-12
+ *   D7         J3-13
+ *   D8         J3-14
+ */
+#define LPC11U68_ARDUINO   D13,D11,D12,D10,D0,D1,SCL,SDA,D9,D6,D7,D8
+
+/*
+ * LPC1549_ARDUINO
+ * ---------------
+ * Connections for the LPCXpresso1549 board. 
+ * The display module should be connected with jumper cables between the
+ * Arduino pinlist on the LPCXpresso board and the 14-pos connector (J3) on the
+ * display module like this:
+ *
+ * Arduino    Display
+ *   
+ *   GND        J3-1
+ *   AREF       J3-2
+ *   D13        J3-3
+ *   D11        J3-4
+ *   D12        J3-5
+ *   D10        J3-6
+ *   D0         J3-7
+ *   D1         J3-8
+ *   SCL        J3-9
+ *   SDA        J3-10
+ *   D9         J3-11
+ *   D6         J3-12
+ *   D7         J3-13
+ *   D8         J3-14
+ */
+#define LPC1549_ARDUINO   D13,D11,D12,D10,D0,D1,SCL,SDA,D9,D6,D7,D8
 
 EM027BS013 epaper(LPC4088QSB_SEC);