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
Revision 17:b3a179cc3d88, committed 2014-08-27
- Comitter:
- embeddedartists
- Date:
- Wed Aug 27 14:24:16 2014 +0000
- Parent:
- 14:eb9809f2ab86
- Parent:
- 16:c22621bd7dea
- Child:
- 18:9f1f1a8b4729
- Commit message:
- Updated
Changed in this revision
--- a/EaLcdBoard.h Tue Aug 26 06:43:40 2014 +0000
+++ b/EaLcdBoard.h Wed Aug 27 14:24:16 2014 +0000
@@ -212,11 +212,11 @@
void pca9532_setBlink0Duty(uint8_t duty);
void pca9532_setBlink0Leds(uint16_t ledMask);
- void setWriteProtect(bool enable);
- void set3V3Signal(bool enabled);
- void set5VSignal(bool enabled);
- void setDisplayEnableSignal(bool enabled);
- void setBacklightContrast(uint32_t value);
+ virtual void setWriteProtect(bool enable);
+ virtual void set3V3Signal(bool enabled);
+ virtual void set5VSignal(bool enabled);
+ virtual void setDisplayEnableSignal(bool enabled);
+ virtual void setBacklightContrast(uint32_t value);
I2C _i2c;
LcdController::Config _cfg;
--- a/LcdController.cpp Tue Aug 26 06:43:40 2014 +0000
+++ b/LcdController.cpp Wed Aug 27 14:24:16 2014 +0000
@@ -411,7 +411,7 @@
// 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_1 |= 7; /* LCD_LE @ P2.1 */ /* Never Used */
LPC_IOCON->P2_2 |= 7; /* LCD_DCLK @ P2.2 */
LPC_IOCON->P2_3 |= 7; /* LCD_FP @ P2.3 */
LPC_IOCON->P2_4 |= 7; /* LCD_ENAB_M @ P2.4 */
--- a/MCIFileSystem.cpp Tue Aug 26 06:43:40 2014 +0000
+++ b/MCIFileSystem.cpp Wed Aug 27 14:24:16 2014 +0000
@@ -608,7 +608,11 @@
initMCI();
- if (cd != NC)
+ if (cd == NC)
+ {
+ _cardDetect = NULL;
+ }
+ else
{
_cardDetect = new DigitalIn(cd);
_cardDetect->mode(PullUp);
