代码搜索:CS2
找到约 499 项符合「CS2」的源代码
代码结果 499
www.eeworm.com/read/389480/8517563
h 12864.h
#ifndef _12864_H__
#define _12864_H__
sbit E=P1^2; //使能端
sbit RW=P1^1; //读写端
sbit RS=P1^0; //数据命令端口
sbit CS1=P1^3;
sbit CS2=P1^4;
/****检查液晶是否忙碌***/
void chekbusy12864(void)
{
uchar da
www.eeworm.com/read/428996/8825574
h 12864driver.h
#define LCD P0
#define uchar unsigned char
#define uint unsigned int
sbit E =P2^0; //使能
sbit RW =P2^1; //读写选择
sbit DI =P2^2; //相当于RS 数据指令选择
sbit CS2=P2^3; //右 0有效
sbit CS1=P2
www.eeworm.com/read/362942/9973869
asm p12_3.asm
E EQU P3.0
RW EQU P3.1
RS EQU P3.2
CS1 EQU P3.6
CS2 EQU P3.7
LCD EQU P2
ORG 0000H
LJMP MAIN
ORG 2000H
;-- 文字: 汉 -- 宽x高=16x16 --
WORD1: DB 010H,060H
www.eeworm.com/read/358648/10182701
h 12864driver.h
#define LCD P0
#define uchar unsigned char
#define uint unsigned int
sbit E =P2^0; //使能
sbit RW =P2^1; //读写选择
sbit DI =P2^2; //相当于RS 数据指令选择
sbit CS2=P2^3; //右 0有效
sbit CS1=P2
www.eeworm.com/read/353445/10446073
c zhenxian.c
#include
#define RST P2_1
#define E P2_2
#define RW P1_0
#define RS P1_1
#define CS1 P1_7
#define CS2 P1_4
#define LCDPORT P0
#define BUSYSTATUS P0_7
#define LCDSTARTROW 0xC0
www.eeworm.com/read/274361/7070884
h copie de consts.h
#ifndef _CONST_H_
#define _CONST_H_
#define CS1 PIN_C0
#define PS1 PIN_C1
#define CS2 PIN_C2
#define PS2 PIN_C3
#define WR PIN_C4
#define RD PIN_C5
//#define A_PORT_B 0x06
#define
www.eeworm.com/read/274361/7070914
h copie de consts.h
#ifndef _CONST_H_
#define _CONST_H_
#define CS1 PIN_C0
#define PS1 PIN_C1
#define CS2 PIN_C2
#define PS2 PIN_C3
#define WR PIN_C4
#define RD PIN_C5
//#define A_PORT_B 0x06
#define
www.eeworm.com/read/464528/7156739
c 步进电机转速测定.c
#include
//端口定义
#define DB P0
sbit DI=P2^0;
sbit RW=P2^1;
sbit E=P2^2;
sbit CS1=P2^3;
sbit CS2=P2^4;
//全局变量定义
unsigned char Speed_Change; //转速调节标志
bit Zheng_Fan;
www.eeworm.com/read/443784/7623216
c disp12864.c
#include
sbit BUT=P3^0;
sbit CS2= P2^3;
sbit CS1= P2^4;
sbit RS= P2^5;
sbit RW= P2^6;
sbit E= P2^7;
sbit BUSY= P0^7;
#define DATALINE P0
delay()
{
unsigned char i=5;
while(
www.eeworm.com/read/297894/7989640
c lcd.c
#include
sbit cs1=P3^0;
sbit cs2=P3^1;
sbit rst=P3^2;
sbit rw=P3^3;
sbit di=P3^4;
sbit e=P3^5;
unsigned char x,y,kkk;
unsigned char *p[];
void lw(unsigned char ,unsigned char ,unsi