C51 COMPILER V7.09 EX 09/16/2004 16:53:08 PAGE 1 C51 …
TL-XDS100V3 源代码
汇集 TL-XDS100V3 相关的电路原理图、PCB工程文件、单片机/FPGA源代码、数据手册与应用设计方案。
/***************************************************/ /* 超声波测距传感器 */ /* —— 端口定义 */ /* …
#include sbit p20=P2^0; int x; void delay() { int a; a = 5000; while(a--); } void main() { P1=0xff; EA=0; TMOD=…
#include"reg52.h" unsigned char seg[16]={0xc0,0xf9,0xa4,0xb0,0x99,0x92,0x82,0xf8,0x80,0x90,0x88, 0x83,0xc6,0xa1,0x86,0x8e}; …
#include"reg51.h" unsigned char seg[16]={0x10,0xf9,0xa4,0x0b,0x99,0x92,0x82,0xf8,0x80,0x90,0x88, 0x83,0xc6,0xa1,0x86,0x8e}; …
#include"reg52.h" unsigned char seg[16]={0xc0,0xf9,0xa4,0xb0,0x99,0x92,0x82,0xf8,0x80,0x90,0x88, 0x83,0xc6,0xa1,0x86,0x8e}; …
CC = iccavr CFLAGS = -IC:\icc\include\ -e -DATMEGA -DATMega16 -l -g -Mavr_enhanced ASFLAGS = $(CFLAGS) -Wa-g LFLAGS = -LC:…
;TIMER IN MOD 3 ORG 0000H AJMP STRT ORG 000BH AJMP T0_ISR ORG 001BH AJMP T1_ISR ORG 0100H STRT: MOV TMOD, #33H MOV TH0,#…
|ds18b20 start => bitNum[0].ACLR start => bitNum[1].ACLR start => bitNum[2].ACLR start => bitNum[3].ACLR start => bitNum[4].A…
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; ;; ;; 语音控制程序 ;; ;; ;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; ;; 8550 ;;…