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.
Dependents: LPC1768_Mini-DK_EasyWeb_DM9161 LPC1768_Mini-DK LPC1768_Mini-DK
Fork of Mini-DK by
Mini_DK.h
00001 /************************************************************************************************** 00002 ***** ***** 00003 ***** Name: Mini_DK.h ***** 00004 ***** Ver.: 1.0 ***** 00005 ***** Date: 04/01/2013 ***** 00006 ***** Auth: Erik Olieman ***** 00007 ***** Func: Includes, pin and macro Declarations for the Mini DK board ***** 00008 ***** ***** 00009 **************************************************************************************************/ 00010 //Uncomment the following line if you need more flash memory. 00011 //#define NO_FLASH_BUFFER 00012 00013 #include "SPI_TFT_ILI9320.h" 00014 #include "Arial12x12.h" 00015 #include "Arial24x23.h" 00016 #include "Arial28x28.h" 00017 #include "font_big.h" 00018 #include "Touch.h" 00019 00020 #define DK_KEY1 P2_11 00021 #define DK_KEY2 P2_12 00022 00023 #define DK_LED1 P3_25 00024 #define DK_LED2 P3_26 00025 00026 #define LCD_SCK P0_15 00027 #define LCD_CS P0_16 00028 #define LCD_SDO P0_17 00029 #define LCD_SDI P0_18 00030 #define LCD_BL P1_26 00031 00032 #define TP_IRQ P2_13 00033 #define TP_CS P0_6 00034 #define TP_SCK P0_7 00035 #define TP_SDO P0_8 00036 #define TP_SDI P0_9 00037 00038 #define SD_SDO P1_23 00039 #define SD_SDI P1_24 00040 #define SD_SCK P1_20 00041 #define SD_CS P1_21 00042 #define SD_CD P1_25 00043 00044 #define DISABLE_LCD_MISO (LPC_PINCON->PINSEL1) &= ~(0x02<<2); 00045 #define ENABLE_LCD_MISO (LPC_PINCON->PINSEL1) |= (0x02<<2);
Generated on Wed Jul 13 2022 09:52:32 by
1.7.2
