Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of EALib by
Diff: LcdController.cpp
- Revision:
- 4:b32cf4ef45c5
- Parent:
- 0:0fdadbc3d852
- Child:
- 12:15597e45eea0
--- a/LcdController.cpp Wed Oct 09 07:51:52 2013 +0000
+++ b/LcdController.cpp Fri Oct 18 12:48:58 2013 +0200
@@ -1,7 +1,15 @@
+
+/******************************************************************************
+ * Includes
+ *****************************************************************************/
#include "mbed.h"
#include "LcdController.h"
+/******************************************************************************
+ * Defines and typedefs
+ *****************************************************************************/
+
#undef _SBF
#define _SBF(p,v) (((uint32_t)(v)) << (p))
@@ -386,7 +394,8 @@
LPC_IOCON->P1_28 |= 7; /* LCD_VD_22 @ P1.28 */
LPC_IOCON->P1_29 |= 7; /* LCD_VD_23 @ P1.29 */
- LPC_IOCON->P2_0 |= 7; /* LCD_PWR @ P2.0 */
+ // pwr always controlled by gpio
+// LPC_IOCON->P2_0 |= 7; /* LCD_PWR @ P2.0 */
LPC_IOCON->P2_1 |= 7; /* LCD_LE @ P2.1 */
LPC_IOCON->P2_2 |= 7; /* LCD_DCLK @ P2.2 */
LPC_IOCON->P2_3 |= 7; /* LCD_FP @ P2.3 */
@@ -433,5 +442,3 @@
}
-
-
