TFT

Dependencies:   mbed

Fork of Ovation_Controller_1 by Andrew R

Files at this revision

API Documentation at this revision

Comitter:
bf1891
Date:
Thu Aug 28 15:18:07 2014 +0000
Parent:
2:67e16df2c89a
Commit message:
publish;

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
system_defines.h Show annotated file Show diff for this revision Revisions of this file
--- a/main.cpp	Thu Jun 09 05:13:10 2011 +0000
+++ b/main.cpp	Thu Aug 28 15:18:07 2014 +0000
@@ -555,6 +555,8 @@
 
 /**********************************main program*****************************************/
 int main () {
+    pc.baud(38400);
+    pc.printf("Hello World!\n\r");
     int l=0;
     //int loopcnt=0;
     __disable_irq();        // Disable Interrupts
--- a/system_defines.h	Thu Jun 09 05:13:10 2011 +0000
+++ b/system_defines.h	Thu Aug 28 15:18:07 2014 +0000
@@ -1,15 +1,15 @@
 /************** All the major system definitions are done here ******************/
 
 // control pins for I/O
-DigitalOut CS(p13);     /* chip select the SSD1963 active LOW */
-DigitalOut RS(p14);     /* reset  to SSD1963  - not used in this implementation*/
-DigitalOut nWR(p15);    /* write out to SSD1963 active LOW */
-DigitalOut nRD(p16);    /* read data from SSD1963 active LOW - but not used */
-DigitalOut DC(p17);     /* Data/Command Select: 1=Command,  0=Data); */
+DigitalOut CS(p28);     /* chip select the SSD1963 active LOW */
+DigitalOut RS(p8);     /* reset  to SSD1963  - not used in this implementation*/
+DigitalOut nWR(p7);    /* write out to SSD1963 active LOW */
+DigitalOut nRD(p6);    /* read data from SSD1963 active LOW - but not used */
+DigitalOut DC(p5);     /* Data/Command Select: 1=Command,  0=Data); */
 DigitalOut myled(LED1); /* for test purposes only - on the mbed module */
 
 /**************************** data bus I/O pins *********************************/
-BusOut DB(p5,p6,p7,p8,p9,p10,p11,p12);  //removed
+BusOut DB(p10,p11,p12,p13,p14,p15,p16,p17);  //removed
 /******************************************************************************/
 /* System Definitions */
 /* the  following are the pin assignments on the mbed controller */
@@ -26,8 +26,8 @@
 DigitalOut SBUSON(p19);
 DigitalOut NAOE(p18);       /* A6821 output enable.  Active LOW */
 //DigitalOut DC(p17);
-DigitalOut RD(p16);         /* also ASTROBE */
-DigitalOut WR(p15);         /* MDATA */
+DigitalOut RD(LED2);         /* also ASTROBE */
+DigitalOut WR(LED3);         /* MDATA */
 //DigitalOut RS(p14);         /* ACLK */
 //DigitalOut CS(p13);
 //DigitalOut myled(LED1);