mesh phone

Dependencies:   RF22 mbed

Revision:
0:c674504a6536
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/system_defines.h	Mon Jul 02 03:41:36 2012 +0000
@@ -0,0 +1,45 @@
+// control pins for I/O
+
+DigitalOut CS(p23);     /* chip select the SSD1963 active LOW */
+DigitalOut RS(p22);     /* reset  to SSD1963  - not used in this implementation*/
+DigitalOut nWR(p25);    /* write out to SSD1963 active LOW */
+DigitalOut nRD(p24);    /* read data from SSD1963 active LOW - but not used */
+DigitalOut DC(p26);     /* Data/Command Select: 0=Command,  1=Data); */
+DigitalOut myled(LED1); /* for test purposes only - on the mbed module */
+DigitalOut led(p18); 
+DigitalOut WEAK(p30); 
+DigitalOut SDN(p19); 
+
+/**************************** data bus I/O pins *********************************/
+BusOut DB(p10,p11,p12,p13,p14,p15,p16,p17);  
+/******************************************************************************/
+int touch_x, touch_y;
+int back_color;
+char is_touch = 0;
+char buffer[100];
+char button_poss = 0;
+/* System Definitions */
+/* the  following are the pin assignments on the mbed controller */
+//DigitalOut pga2320(p30);/* normally LOW; take HIGH  to select PGA2320 */
+//DigitalOut phono(p29);
+//DigitalIn IRx(p27);     /* p28 is the Tx outputand is not used */
+//DigitalIn IPSELPB(p26);
+//DigitalIn IPSELB(p25);
+//DigitalIn IPSELA(p24);
+//DigitalIn VOLPB(p23);
+//DigitalIn VOLB(p22);
+//DigitalIn VOLA(p21);
+//AnalogIn ALS(p20);
+//DigitalOut SBUSON(p19);
+//DigitalOut NAOE(p18);       /* A6821 output enable.  Active LOW */
+//DigitalOut DC(p17);
+//DigitalOut RD(p16);         /* also ASTROBE */
+//DigitalOut WR(p15);         /* MDATA */
+//DigitalOut RS(p14);         /* ACLK */
+//DigitalOut CS(p13);
+//DigitalOut myled(LED1);
+//BusInOut DB(p12, p11, p10, p9, p8, p7, p6, p5); /* for the LCD display */
+
+//Serial pc(USBTX, USBRX);    /* for debugging and in final version for test mode */
+//Serial remote(NC, p27);     /* remote control serial input; 1200bd 8 data, 1 stop and no parity */
+//AnalogIn light(p20);        /* for auto display brightness */
\ No newline at end of file