Librarie pour ecran 128x32 de MyLab

Dependents:   MyLab_Lib

Revision:
12:00bbd42614c7
Parent:
11:c00a727f140f
diff -r c00a727f140f -r 00bbd42614c7 C12832.h
--- a/C12832.h	Tue Mar 29 18:26:15 2016 +0000
+++ b/C12832.h	Tue Mar 29 18:56:20 2016 +0000
@@ -24,17 +24,7 @@
  * #define debug_lcd  1  enable infos to PC_USB
  */
 
-// some defines for the DMA use
-#define DMA_CHANNEL_ENABLE      1
-#define DMA_TRANSFER_TYPE_M2P   (1UL << 11)
-#define DMA_CHANNEL_TCIE        (1UL << 31)
-#define DMA_CHANNEL_SRC_INC     (1UL << 26)
-#define DMA_MASK_IE             (1UL << 14)
-#define DMA_MASK_ITC            (1UL << 15)
-#define DMA_SSP1_TX             (1UL << 2)
-#define DMA_SSP0_TX             (0)
-#define DMA_DEST_SSP1_TX        (2UL << 6)
-#define DMA_DEST_SSP0_TX        (0UL << 6)
+
 
 #define PIN_LCD_CS	0
 #define PIN_LCD_E	1
@@ -83,7 +73,7 @@
     /**
      * Create a C12832 object connected to SPI1
      */
-	C12832(PinName rs, PinName e,PinName rw, PinName a0,PinName cs,PinName d0, PinName d1,PinName d2, PinName d3,PinName d4,PinName d5,PinName d6,PinName d7, const char* name = "LCD");
+	C12832(PinName e,PinName rw, PinName a0,PinName cs,PinName d0, PinName d1,PinName d2, PinName d3,PinName d4,PinName d5,PinName d6,PinName d7, const char* name = "LCD");
 
     /**
      * Get the width of the screen in pixel
@@ -245,7 +235,7 @@
     unsigned int get_auto_up(void);
 
     /** Vars     */
-    DigitalOut _rs, _e,_cs,_a0,_rw;
+    DigitalOut  _e,_cs,_a0,_rw;
     BusOut _d;
     unsigned char* font;
     unsigned int draw_mode;
@@ -337,4 +327,3 @@
 
 
 #endif
-