代码搜索结果
找到约 10,000 项符合
LCD 的代码
lcd.lnk
# LINK COMMAND FILE FOR TEST PROGRAM
#
+seg .text -b 0x8000 -n .text # program start address
+seg .const -a .text # constants follow code
+seg .bsct -b 0x40 # zero page start address 0x40
+seg
lcd.bat
@echo off
PATH c:\cxeval
cx6808 -evl +debug +nowiden crts.s lcd.c vector.c
if errorlevel 1 goto bad
:clink
echo.
echo Linking ...
clnk -o lcd.h08 lcd.lnk
if errorlevel 1 goto bad
:chexa
echo
lcd.c
//控制器:HD61830
//设计者:李晶皎
//MCU:MC68HC908GP32
#include "gp32.h"
/*开中断*/
#define cli() _asm("cli\n")
/*关中断*/
#define sei() _asm("sei\n")
#define nop() _asm("nop\n")
typedef unsigned int Uint; /*
lcd.lnk
# LINK COMMAND FILE FOR TEST PROGRAM
#
+seg .text -b 0x8000 -n .text # program start address
+seg .const -a .text # constants follow code
+seg .bsct -b 0x40 # zero page start address 0x40
+seg
lcd.bat
@echo off
PATH c:\cxeval
cx6808 -evl +debug +nowiden crts.s lcd.c vector.c
if errorlevel 1 goto bad
:clink
echo.
echo Linking ...
clnk -o lcd.h08 lcd.lnk
if errorlevel 1 goto bad
:chexa
echo
lcd.c
/* LCD模块:16X2 */
/* 控制器:HD44780 */
/* 设计者:李晶皎 */
/* PTC0-RS,PTC1-R/W,PTC2-E*/
#include "gp32.h"
#define cli() _asm("cli\n") /*开中断*/
#define sei() _asm("sei\n") /*关中断*/
#define nop() _asm("nop
lcd.lnk
# LINK COMMAND FILE FOR TEST PROGRAM
#
+seg .text -b 0x8000 -n .text # program start address
+seg .const -a .text # constants follow code
+seg .bsct -b 0x40 # zero page start address 0x40
+seg
lcd.bat
@echo off
PATH c:\cxeval
cx6808 -evl +debug +nowiden crts.s lcd.c KEY.C vector.c
if errorlevel 1 goto bad
:clink
echo.
echo Linking ...
clnk -o lcd.h08 lcd.lnk
if errorlevel 1 goto bad
:chexa
lcd.c
//SED1565 ljj
//PTC0-WR,PTC1-RD,PTC2-A0
//PTD1-LEDRED,PTD2-LEDGREEN,PTD3-LEDBLUE
#include "gp32.h"
#include "display.h"
#define cli() _asm("cli\n") /*开中断*/
#define sei() _asm("sei\n") /*关中断*
lcd.h
void Wait1ms(void);
void WaitNms(int i);
void BFRead(void);
void WRCommand(unsigned char command);
void WRData(unsigned char data);
void ClearRAM(coid);
void DisplayChar(unsigned char CharNum);