Description: int main (void)
{
PINSEL0 = 0X00
PINSEL1 = PINSEL1 & (~(0x03 << 2)) /* 将P0.17设置为GPIO */
PINSEL1 = PINSEL1 & (~(0x03FF << 4)) /* 将P0.18-P0.22设置为GPIO */
IO0DIR = LED1|DB16|CS|RS|WR|RD|RESET /* 设置 控制口为输出 */
IO0SET = OUTALL
Timer0Init()
IO0SET = LED1 /* LED1熄灭 */
IO0SET=RESET
Delayms(5)
IO0CLR=RESET
Delayms(12)
IO0SET=RESET
Delayms(5)
File list (Check if you may need any files):
touch_LCD\LCD\LCD.mcp
.........\...\..._Data\CWSettingsWindows.stg
.........\...\........\DebugInFLASH\LCD.axf
.........\...\........\............\LCD.i32
.........\...\........\............\ObjectCode\IRQ.o
.........\...\........\............\..........\main.o
.........\...\........\............\..........\Startup.o
.........\...\........\............\..........\target.o
.........\...\........\............\ObjectCode
.........\...\........\............\TargetDataWindows.tdt
.........\...\........\DebugInFLASH
.........\...\........\.......RAM\LCD.axf
.........\...\........\..........\ObjectCode\IRQ.o
.........\...\........\..........\..........\main.o
.........\...\........\..........\..........\Startup.o
.........\...\........\..........\..........\target.o
.........\...\........\..........\ObjectCode
.........\...\........\..........\TargetDataWindows.tdt
.........\...\........\DebugInRAM
.........\...\........\RelInFLASH\TargetDataWindows.tdt
.........\...\........\RelInFLASH
.........\...\LCD_Data
.........\...\src\config.h
.........\...\...\IRQ.s
.........\...\...\LPC2294.h
.........\...\...\main.c
.........\...\...\mem_a.scf
.........\...\...\mem_b.scf
.........\...\...\mem_c.scf
.........\...\...\Startup.s
.........\...\...\target.c
.........\...\...\target.h
.........\...\src
.........\LCD
.........\lcd.hex
touch_LCD