Welcome![Sign In][Sign Up]
Location:
Search - mega16 t

Search list

[SCMTCS230

Description: 51单片连tcs230的源程序,绝对原创,可以记忆颜色。 #define uchar unsigned char #include <reg52.h> #include<math.h> sbit S0=P1^7 sbit S1=P1^0 //端口定义 sbit S2=P1^1 sbit S3=P1^2 sbit OE=P1^3 sbit OUT=P3^4 //频率从TO口输入 sbit key0=P1^5 sbit LED=P1^6 sbit a=P3^0 sbit b=P3^1 uchar color //1:blue 2:green 3:red uchar T[4] //color timer uchar TH[4] uchar TL[4] uchar bizhi[4] void time1() interrupt 3 { TH[color]=TH0 TL[color]=TL0 T[color]=(TH[color]*0xff+TL[color]) TR0=0 //关定时器 TR1=0 TH1=0xB1 TL1=0xE0 //归0 TH0=0x00 TL0=0x00 //归0 }-51 monolithic tcs230 even the source is absolutely original, you can remember the color.# Define uchar unsigned char# Include
Platform: | Size: 1024 | Author: 黄胜 | Hits:

[SCMTWI-at2401

Description: AVR的MEGA16通过TWI接口读写AT24C02-AVR through MEGA16 the TWI interface to read and write AT24C02
Platform: | Size: 24576 | Author: 鄭斌 | Hits:

[Embeded-SCM Developspi-TLC2543

Description: Mega16读12位AD芯片TLC2543(硬件SPI传输) TLC2543驱动,将读到的ADC数据通过串口发送到 PC-Mega16 (external 7.37628M)+ TLC2543 TLC2543 driver will read the ADC data is sent to the PC through the serial port
Platform: | Size: 10240 | Author: 张帅 | Hits:

[SCMEB-StepMotor2

Description: 用MEGA16驱动步进电机,可控制步进电机的熟读,方向-sorry,i don t knowsorry,i don t knowsorry,i don t knowsorry,i don t know
Platform: | Size: 29696 | Author: 沈强 | Hits:

CodeBus www.codebus.net