搜索结果
找到约 17 项符合
0xC0 的查询结果
单片机编程 用定时器以间隔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=(65536-50000)/256;
TL ...
单片机编程 红外解码程序
/*
&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>
//unsigned char const SEGtabl ...
源码 点亮P10单元板单片机源程序
/*=================================================================
4扫16*16下入上出C语言程序, 低位起笔,数据反相。
预定义
**************************************************************/
#include
#include //可使用其中定义的宏来访问绝对地址?
bit ture=1; // 使能正反相位选择
bit false=0; / ...
源码 12345
/****************temic*********t5557***********************************/ &nbsp;&nbsp;
#include &nbsp; <at892051.h> &nbsp; &nbsp;
#include &nbsp; <string.h> &nbsp;&nbsp;
#include &nbsp; <intrins.h> &nbsp; &nbsp;
#include &nbsp; <stdio.h> &nbsp; &nbsp;
#define &nbsp; &nbsp;uchar &nbsp; &nbsp;unsign ...
技术资料 宏晶 STC15F2K60S2开发板配套软件源码 基础例程30例
宏晶 STC15F2K60S2开发板配套软件源码 基础例程30例/**********************基于STC15F2K60S2系列单片机C语言编程实现使用如下头文件,不用另外再包含"REG51.H"#include <STC15F2K60S2.h>***********************/#include "STC15F2K60S2.H"//#include "REG51.H"&nbsp;//sfr P4&nbsp; &nbsp;= 0xC0;#define&nbsp; uint unsi ...
技术资料 单片机原理及应用 作业 —— 数码管 显示 学号
一、 实验目的使用 51单片机的八位数码管顺序显示自己的学号。掌握 C 语言、汇编语言两种编程单片机控制程序的方法。掌握使用 Keil 4 或 Keil 5 软件编写、编译、调试程序的方法。掌握使用 Proteus 软件绘制电路原理图、硬件仿真和程序调试。二、实验设备笔记本电脑51 单片机(普中科技)八位数码管(单片机上已集成)应用 ...
技术资料 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,0xD0,0XE0,0XE0,0xC ...