搜索:0xf8
找到约 13 项符合「0xf8」的查询结果
结果 13
https://www.eeworm.com/dl/647/305272.html
嵌入式/单片机编程
EA = 1 //开总中断 ET0 = 1 //允许定时器0中断 TMOD = 1 //定时器工作方式选择 TL0 = 0x06 TH0 = 0xf8 //定时器赋予初值
EA = 1 //开总中断
ET0 = 1 //允许定时器0中断
TMOD = 1 //定时器工作方式选择
TL0 = 0x06
TH0 = 0xf8 //定时器赋予初值
TR0 = 1 //启动定时器
https://www.eeworm.com/dl/947231.html
技术资料
拟时钟寄存器
#include
sbit P17 = P1^7;
/*****************************************************************************************************
IO初始化子程序
*****************************************************************************************************/
void IOInit(void ...
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/838118.html
技术资料
Proteus仿真LCD12864显示动画—飞翔的鸽子
程序:LCD12664液晶显示原理unsigned int/W/图形编码,也可以把图形代码存为头文件。该程序经过调试。PROTEUS原理图见截图unsigned char code table1[][64]={/*-调入了一幅图像:D:\Desktop\新建文件夹(2)l.bmp--*//*-宽度x高度=128×64一*材0x00,0×00,0×00,0×00,0×00,0×00,0x80,0x80,0 ...
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/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/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/509771.html
单片机编程
红外解码程序
/*
&nbsp;* _168ZHONGDUAN2.c
&nbsp;*
&nbsp;* Created: 2014/11/2 15:12:45
&nbsp;* &nbsp;Author: lenovo
&nbsp;*/&nbsp;
#include <avr/io.h>
#include <avr/iom168pa.h>
#include <avr/interrupt.h>
#include <util/delay.h>
#include <avr/eeprom.h>
//#include <util/delay_basic.h>
//unsigne ...
https://www.eeworm.com/dl/916865.html
技术资料
C语言经典程序100例.rar
此为本书的参考实例,I:\df.c(12) : warning C4013: 'random' undefined; assuming extern returning int
I:\df.c(53) : error C2018: unknown character '0xb1'
I:\df.c(53) : error C2018: unknown character '0xbe'
I:\df.c(53) : error C2018: unknown character '0xce'
I:\df.c(53) : error C2018 ...
https://www.eeworm.com/dl/571/20705.html
模拟电子
Arduino学习笔记A10_Arduino数码管骰子实验
电路连接
由于数码管品种多样,还有共阴共阳的,下面我们使用一个数码管段码生成器(在文章结尾) 去解决不同数码管的问题:
本例作者利用手头现有的一位不知品牌的共阳数码管:型号D5611 A/B,在Eagle 找了一个 类似的型号SA56-11,引脚功能一样可以直接代换。所以下面电路图使用SA56-11 做引脚说 ...