k og / Mbed 2 deprecated Aitendo_HX8347D_HelloWorld

Dependencies:   SDFileSystem mbed

Fork of Aitendo_HX8347D_HelloWorld by k og

Files at this revision

API Documentation at this revision

Comitter:
og
Date:
Fri Sep 02 12:28:00 2016 +0000
Parent:
2:037b6c0182ce
Commit message:
release

Changed in this revision

README.MD Show annotated file Show diff for this revision Revisions of this file
SDFileSystem.lib Show annotated file Show diff for this revision Revisions of this file
main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/README.MD	Fri Sep 02 03:51:16 2016 +0000
+++ b/README.MD	Fri Sep 02 12:28:00 2016 +0000
@@ -13,29 +13,26 @@
 
 connection
 
-HX8347D Arduino Pin
-        Nucleo/Arch Pro
-DB0     D2  p8
-DB1     D3  p26
-DB2     D4  p25
-DB3     D5  p24
-DB4     D6  p23
-DB5     D7  p10
-DB6     D8  p9
-DB7     D9  p22
-
-RD      A0  p15
-WR      A1  p16
-RS      A2  p17
-CS      A3  p18
-RESET   A4  p19
-
-LED_A   3V3
-
-SD_CS   D10 SPI_CS
-SD_DIN  D11 SPI_MOSI    
-SD_SCK  D13 SPI_SCK
-SD_DOUT D12 SPI_MISO
+HX8347D |Arduino Pin     |LPC1768
+        | Nucleo/Arch Pro| 
+DB0     |D2              |p8
+DB1     |D3              |p26
+DB2     |D4              |p25
+DB3     |D5              |p24
+DB4     |D6              |p23
+DB5     |D7              |p10
+DB6     |D8              |p9
+DB7     |D9              |p22
+RD      |A0              |p15
+WR      |A1              |p16
+RS      |A2              |p17
+CS      |A3              |p18
+RESET   |A4              |p19
+LED_A   |3V3
+SD_CS   |D10             |p21 |SPI_CS
+SD_DIN  |D11             |p5  |SPI_MOSI    
+SD_SCK  |D13             |p7  |SPI_SCK
+SD_DOUT |D12             |p6  |SPI_MISO
 
 
 /* D0, D1 short SB62,SB63*/
--- a/SDFileSystem.lib	Fri Sep 02 03:51:16 2016 +0000
+++ b/SDFileSystem.lib	Fri Sep 02 12:28:00 2016 +0000
@@ -1,1 +1,1 @@
-https://developer.mbed.org/users/og/code/SDFileSystem/#1c012a43e5a3
+http://mbed.org/users/neilt6/code/SDFileSystem/#e4d2567200db
--- a/main.cpp	Fri Sep 02 03:51:16 2016 +0000
+++ b/main.cpp	Fri Sep 02 12:28:00 2016 +0000
@@ -7,9 +7,8 @@
 **/
 
 #include "mbed.h"
-#include "mbed_debug.h"
+#include "HX8347D.h"
 #include "SDFileSystem.h"
-#include "HX8347D.h"
 //#define ROW  320
 //#define COL 240
 
@@ -443,7 +442,7 @@
 
 main()
 {
-    wait(5);
+    wait(1);
 
     #if defined TARGET_NUCLEO_F103RB
     //SystemClock_Config_INT();
@@ -528,7 +527,6 @@
         tft.fillScreen(0);
         bmpdraw(fp, 50, 50);
         wait(1);
-
         tft.setRotation(0);
         rotateText();
         //rotateTest();