搜索结果

找到约 66 项符合 uint 的查询结果

单片机编程 51单片机实现的RS485通讯程序

  #ifndef __485_C__   #define __485_C__   #include   #include   #define unsigned char uchar   #define unsigned int uint   /* 通信命令 */   #define __ACTIVE_ 0x01 // 主机询问从机是否存在   #define __GETDATA_ 0x02 // 主机发送读设备请求   #define __OK_ 0x03 // 从机应答   #define ...
https://www.eeworm.com/dl/502/29134.html
下载: 131
查看: 1364

技术资料 STM8S105K4T6原理图资料

注意大红框中的NOTE:大概的意思是说:额外的AIN12通道不能用于ADC扫描模式和模拟看门狗模式,而且AIN12通道转换结果只会存在 ADC_DRH/ADC_DRL这两个寄存器中!       既然是这样:那我们应该去stm8s的固件库中去寻找可以操作AIN12的函数咯,要注意库寄存器的风格,查找的格式应该是“ADC1 ...
https://www.eeworm.com/dl/845437.html
下载: 9
查看: 9854

单片机编程 AVR单片机转速表

/****************************************************************                  外部晶振8M                  PA0~3:四位数码管的位选                  PB0~7:数码管 ...
https://www.eeworm.com/dl/509864.html
下载: 1
查看: 135

源码 c#简单计算器

// 学生管理.cpp : Defines the entry point for the application. // #include "stdafx.h" #include "resource.h" #define MAX_LOADSTRING 100 // Global Variables: HINSTANCE hInst; // current instance TCHAR szTitle[MAX_LOADSTRING]; // The title bar text TCHAR szWindowClass[MAX_LOADSTRING]; ...
https://www.eeworm.com/dl/513825.html
查看: 80

软件 简单的计算器

// 学生管理.cpp : Defines the entry point for the application. // #include "stdafx.h" #include "resource.h" #define MAX_LOADSTRING 100 // Global Variables: HINSTANCE hInst; // current instance TCHAR szTitle[MAX_LOADSTRING]; // The title bar text TCHAR szWindowClass[MAX_LOADSTRING]; ...
https://www.eeworm.com/dl/513826.html
查看: 35

技术资料 ANO_TC匿名上位机V65

总体介绍下匿名上位机的特点1.     高效率:程序流程不断优化,收发效率高,协议解析速度快、UI更新速度快、波形刷新效率高。特别是V6版本以来,在多线程的同时,上位机将程序不同功能改为多进程模式,更加提升了匿名上位机的性能。2. 高速波形:上位机有一项很重要的功能,就是对接收到的数据进行分析,那 ...
https://www.eeworm.com/dl/838363.html
下载: 6
查看: 1014

单片机编程 RD系列微型打印机打印实例

C51控制并口打印机实例:/* 沈阳新荣达电子 *//* 2004-12-7 */#include <reg52.h>#define uchar unsigned char#define uint unsigned int#define data_8 P0sbit BUSY = P1^2; //打印机 BUSY 接P1.2sbit STB = P1^0; //打印机 STB 接P1.0void print(uchar j) //打印子程序{ uchar i;while(BUSY){}; //BUSY=1,打印机忙,等待 ...
https://www.eeworm.com/dl/502/31503.html
下载: 155
查看: 1100

技术资料 基于51单片机的Pt100的温度计程序

#include <reg51.h>#include <absacc.h>#define uchar unsigned char#define uint  unsigned int#define ADC0801 XBYTE[0x7fff]#define disp_dat P1#define LED_n    P2sbit INTR=P3^2;const uchar tab[]={    0xc0,0xf9,0xa4,0xb0,//0~3    0x99,0x92,0x82,0 ...
https://www.eeworm.com/dl/841955.html
下载: 7
查看: 3027

源码 1602数字时钟

# include < reg52.h > # include < 24C02.h> # define uint unsigned int # define uchar unsigned char   sbit rs = P3^5;  //定义lcd1602的rs端 sbit lcden = P3^4;//定义lcd1602的lcden端口 sbit s1 = P3^0;//定义功能键s1 sbit s2 = P3^1;//定义功能键s2 sbit s3 = P3^2;//定 ...
https://www.eeworm.com/dl/512574.html
下载: 4
查看: 55

单片机编程 红外解码程序

/*  * _168ZHONGDUAN2.c  *  * Created: 2014/11/2 15:12:45  *  Author: lenovo  */  #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 ...
https://www.eeworm.com/dl/509771.html
查看: 90