
A web server for monitoring and controlling a MakerBot Replicator over the USB host and ethernet.
Dependencies: IAP NTPClient RTC mbed-rtos mbed Socket lwip-sys lwip BurstSPI
Fork of LPC1768_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 #include "Target.h" 00013 00014 #ifndef __MINI_DK_H__ 00015 #define __MINI_DK_H__ 00016 00017 #ifdef TARGET_MINIDK 00018 00019 #include "SPI_TFT_ILI9320.h" 00020 #include "Arial12x12.h" 00021 #include "Arial24x23.h" 00022 #include "Arial28x28.h" 00023 #include "font_big.h" 00024 #include "Touch.h" 00025 00026 #define DK_KEY1 P2_11 00027 #define DK_KEY2 P2_12 00028 00029 #define DK_LED1 P3_25 00030 #define DK_LED2 P3_26 00031 00032 #define LCD_SCK P0_15 00033 #define LCD_CS P0_16 00034 #define LCD_SDO P0_17 00035 #define LCD_SDI P0_18 00036 #define LCD_BL P1_26 00037 00038 #define TP_IRQ P2_13 00039 #define TP_CS P0_6 00040 #define TP_SCK P0_7 00041 #define TP_SDO P0_8 00042 #define TP_SDI P0_9 00043 00044 #define SD_SDO P1_23 00045 #define SD_SDI P1_24 00046 #define SD_SCK P1_20 00047 #define SD_CS P1_21 00048 #define SD_CD P1_25 00049 00050 #define USB_PPWR P1_19 00051 00052 #define DISABLE_LCD_MISO (LPC_PINCON->PINSEL1) &= ~(0x02<<2); 00053 #define ENABLE_LCD_MISO (LPC_PINCON->PINSEL1) |= (0x02<<2); 00054 00055 #endif 00056 00057 00058 #endif
Generated on Thu Dec 20 2018 07:50:48 by
