include<>include<>include<>define uint unsigned intdefine uchar unsigned chardefine scan P1sbit axisx=P36sbit axisy=P37uchar code TAB[]={0x3f0x060x5b0x4f0x660x6d0x7d0x070x7f0x6f}float gvoid delay1ms(u
---------------------------------------------------------飞翔科技MMA7660加速度传感器E-mail: 2008f.d163淘宝店::fxfreefly.taobao---------------------------------------------------------include <hidef.
51单片机PWM调速程序2011-05-07 19:30 程序名:PWM直流电机调速 晶振:11.00592 MHz CPU型号:AT89C51 直流电机的PWM波控制可以直接的调速从0到20级的调速 include<reg51.h>define TH0_TL0 (65536-1000)设定中断的间隔时长unsigned char count0 = 50低电平的占空比unsigned
51单片机C程序include<reg51.h>include<intrins.h>define uchar unsigned charsbit RS=P35定义LCD端口sbit RW=P36sbit E=P37sbit DQ=P34定义单总线端口uchar LCD_3LCD_2LCD_1LCD_0uchar ds18b20_romA[8]={0x8e0x000x000x000xb80xc
include<reg52.h>include<intrins.h>include<stdio.h>include1602.hincludemath.hdefine uchar unsigned chardefine uint unsigned intuchar KeyVuchar Y=0长度uchar K=0 错误标示uchar Z=0扫描位uchar S=0 结束标志uchar A
include <reg51.h>include <intrins.h>unsigned char data digitunsigned char data indexunsigned char data buf[16]unsigned char code table[11]={0xc00xf90xa40xb00x990x920x820xf80x800x900xff}unsigned int
基于51单片机DS18B20温度传感器的C语言程序和电路DS18B20在外形上和三极管很像有三只脚电压范围为 V至 V 无需备用电源 测量温度范围为-55 至125 ℃ 温度传感器可编程的分辨率为912位 温度转换为12位数字格式最大值为750毫秒 用户可定义的非易失性温度报警设置 应用范围包括恒温控制工业系统消费电子产品温度计或任何热敏感系统?? 下面是DS18B20的子程序本人用过完全可
基于51单片机DS18B20温度传感器的C语言程序和电路DS18B20在外形上和三极管很像有三只脚电压范围为3.0 V至5.5 V 无需备用电源 测量温度范围为-55 至125 ℃ 温度传感器可编程的分辨率为912位 温度转换为12位数字格式最大值为750毫秒 用户可定义的非易失性温度报警设置 应用范围包括恒温控制工业系统消费电子产品温度计或任何热敏感系统?? 下面是DS18B20的子程序本
ADXL345模块 用途:ADXL345模块IIC测试程序 include <REG51.H>include <math.h> Keil library include <stdio.h> Keil libraryinclude <INTRINS.H>define uchar unsigned chardefine uint unsigned intde
#
违法有害信息,请在下方选择原因提交举报