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 RA8875 by
Diff: RA8875.cpp
- Revision:
- 94:203729061e48
- Parent:
- 93:6fbc516de05e
- Child:
- 95:ef538bd687c0
diff -r 6fbc516de05e -r 203729061e48 RA8875.cpp
--- a/RA8875.cpp Sun Feb 01 18:50:57 2015 +0000
+++ b/RA8875.cpp Wed Mar 04 23:52:29 2015 +0000
@@ -175,11 +175,18 @@
{
RetCode_t ret;
- ret = WriteCommand(0x01, 0x01); // Apply Display Off, Reset
- wait_ms(2); // no idea if I need to wait, or how long
+ #if 0
+ if (res != (PinName)NC) {
+ res = 0; // Active low - assert reset
+ wait_ms(2); // must be > 1024 clock periods. (@25 MHz, this is 40.96 usec)
+ res = 1; // de-assert reset
+ }
+ #endif
+ ret = WriteCommand(0x01, 0x01); // Apply Display Off, Reset
+ wait_ms(2); // no idea if I need to wait, or how long
if (ret == noerror) {
- ret = WriteCommand(0x01, 0x00); // Display off, Remove reset
- wait_ms(2); // no idea if I need to wait, or how long
+ ret = WriteCommand(0x01, 0x00); // Display off, Remove reset
+ wait_ms(2); // no idea if I need to wait, or how long
}
return ret;
}
