搜索:0xC0
找到约 19 项符合「0xC0」的查询结果
结果 19
https://www.eeworm.com/dl/647/465968.html
嵌入式/单片机编程
//温度数码管显示演示程序 //数码管位选信号 :由右到左为P20、P21、P22、P23、P24、P33 //数码管数据线 :P0口 //数码管数字码 :0 0xC0
//温度数码管显示演示程序
//数码管位选信号 :由右到左为P20、P21、P22、P23、P24、P33
//数码管数据线 :P0口
//数码管数字码 :0 0xC0 1 0xF9 2 0xA4 3 0xB0 4 0x99 5 0x92 6 0x82 7 0xF8 8 0x80 9 0x90
//数码管带点码 :0 0x40 1 0x79 2 0x24 3 0x30 4 0x19 5 0x12 6 0x02 7 0x ...
https://www.eeworm.com/dl/502/28551.html
单片机编程
AVR单片机数码管秒表显示
#include<iom16v.h>
#include<macros.h>
#define uint unsigned int
#define uchar unsigned char
uint a,b,c,d=0;
void delay(c)
{ for for(a=0;a<c;a++)
for(b=0;b<12;b++);
};
uchar tab[]={
0xc0,0xf9,0xa4,0xb0,0x99,0x92,0x82,0xf8,0x80,0x90,
https://www.eeworm.com/dl/648/307247.html
单片机开发
P89V51RD2具有一个可编程的看门狗定时器(WDT)
P89V51RD2具有一个可编程的看门狗定时器(WDT),可用于系统故障安全保护,防止软件死锁和自动恢复。WDT在CPU落入软件运行失控的情况下可作为一种恢复的方法。P89V51RD2有两个特殊功能寄存器WDTC(地址0xC0)和WDTD(地址0x85)用于看门狗功能,有关这两个寄存器的详细注解参见 ...
https://www.eeworm.com/dl/508925.html
PCB图/BOM单/原理图
单片机课程设计
#include<reg52.h>&nbsp;
#include<intrins.h>
#define LED P0
sbit KEY0=P2^0; &nbsp;//定义按键输入端口 A &nbsp;&nbsp;
sbit KEY1=P2^1; &nbsp;//定义按键输入端口 B &nbsp;&nbsp;
sbit KEY2=P2^2; &nbsp;//定义按键输入端口 C
unsigned int Led_table[8]={0xfe,0xfc,0xf8,0xf0,0xe0,0xc0,0x80,0 ...
https://www.eeworm.com/dl/502/31601.html
单片机编程
51单片机驱动步进电机(含电路图和C语言源程序代码)
51单片机驱动步进电机(含电路图和源程序代码)
源程序:stepper.c stepper.hex /* * STEPPER.C * sweeping stepper's rotor cw and cww 400 steps * Copyright (c) 1999 by W.Sirichote */ #i nclude c:\mc5151io.h /* include i/o header file */ #i nclude c:\mc5151reg.h register unsigned char j ...
https://www.eeworm.com/dl/502/31673.html
单片机编程
ADS1210 ADS1211 C程序
include&nbsp;"macrodefine.h"#include&nbsp;"lpc2294.h"
//ADS1210初始化子程序void AD_Init(void){&nbsp;Delayus(2);&nbsp;SPI1_Communation(0x64);&nbsp;SPI1_Communation(0x72);&nbsp;//单极性,SDOUT独立,先MSB,REF使用内部&nbsp;SPI1_Communation(0x20);&nbsp;//自校准模式,增益1,通道0&nbsp ...
https://www.eeworm.com/dl/841955.html
技术资料
基于51单片机的Pt100的温度计程序
#include <reg51.h>#include <absacc.h>#define uchar unsigned char#define uint &nbsp;unsigned int#define ADC0801 XBYTE[0x7fff]#define disp_dat P1#define LED_n &nbsp;&nbsp;&nbsp;P2sbit INTR=P3^2;const uchar tab[]={&nbsp;&nbsp;&nbsp;&nbsp;0xc0,0xf9,0xa4,0xb0,//0~3&nbsp;&nbsp;&nbsp;&n ...
https://www.eeworm.com/dl/509595.html
单片机编程
用定时器以间隔500MS在6位数码管上依次显示0、1、 2、3….C、D、E、F,重复。
#include<reg51.h>
#define uchar unsigned char
#define uint unsigned int
uint i,j;
sbit dula=P2^6;
sbit wela=P2^7;
uchar code table[]={0x3f,0x06,0x5b,0x4f,0x66,0x6d,
0x7d,0x07,0x7f,0x6f,0x77,0x7c,
0x39,0x5e,0x79,0x71};
void main()
{&nbsp;
j=0;
i=0;
&nbsp; &nbsp; TMOD=0X01;
TH0=( ...
https://www.eeworm.com/dl/502/29074.html
单片机编程
Mini2440启动代码详解
BIT_SELFREFRESH EQU (1<<22) ;定义SDRAM自刷新标志位
16
17 ;Pre-defined constants 预定义6种工作模式
18 USERMODE EQU 0x10 ;用户模式
19 FIQMODE EQU 0x11 ;快速中断模式
20 IRQMODE EQU 0x12 ;中断模式
21 SVCMODE EQU 0x13 ;监管模式
22 ABORTMODE EQU 0x17 ;异常中断模式
23 UNDEFMOD ...
https://www.eeworm.com/dl/502/30858.html
单片机编程
AT89C2051驱动步进电机的电路和源码
AT89C2051驱动步进电机的电路和源码:AT89C2051驱动步进电机的电路和源码 程序:stepper.c stepper.hex/* * STEPPER.C * sweeping stepper's rotor cw and cww 400 steps * Copyright (c) 1999 by W.Sirichote */#i nclude c:\mc5151io.h /* include i/o header file */ #i nclude c:\mc5151reg.hregis ...