- 博客(1)
- 资源 (11)
- 收藏
- 关注
C51活泼流水灯(C语言)
C51活泼流水灯(C语言)
实验要求]
单片机P1口相连的8个发光二极管中的一个循环移位点亮,同时蜂鸣器发出滴滴的响声。
蜂鸣器用一PNP三极管驱动,集电极(C极)通过蜂鸣器线圈接5V电源,基极(B极)是控制端,发射极(E极)接地,当三极管C,B极PN结正偏时,PN结导通,即B极为低电平时,三极管导通,蜂鸣器响。再不明白去看模电书。
[实验目的]
掌握循环移位的工作原理,学会使用封装好的函数库,
延时函数的时间估算。
2009-12-18
51单片机PWM调温,C语言
#include <reg52.h>
//#include <at89x52.h>
//#include <keyscan.h>
extern void scan_full(void);
extern unsigned char key_scan(void);
extern bit key_ok;
unsigned char pwm_set,key_value;
unsigned char count;
sbit PWM=P3^6;
bit up,down,set_flag;
...
2009-12-18
51单片机的音乐采灯程序.C.txt
#include <reg51.h>
sbit speaker=P3^0;
unsigned char timer0h,timer0l,time,led=1,j=0;
unsigned char flagd=0;
//世上只有妈妈好数据表
....
2009-12-18
OPA2357AIDGST.pdf
The OPA357 series of high-speed, voltage-feedback
CMOS operational amplifiers are designed for video and
other applications requiring wide bandwidth. They are
unity-gain stable and can drive large output currents.
Differential gain is 0.02% and differential phase is 0.09°.
Quiescent current is only 4.9mA per channel.
2009-12-17
K4T1G164QE-HEC6.pdf
The 1Gb DDR2 SDRAM is organized as a 32Mbit x 4 I/Os x 8
banks, 16Mbit x 8 I/Os x 8banks or 8Mbit x 16 I/Os x 8 banks
device. This synchronous device achieves high speed double-
data-rate transfer rates of up to 667Mb/sec/pin (DDR2-667) for
general applications.
2009-12-17
IP Camera Reference Designs.pdf
Texas Instruments offers multiple
highly optimized reference designs
based on the TMS320DM3x DaVinci™
video processors for the IP camera
market to enable developers to speed
through the design process as well as
reducing overall bill of materials costs.
These reference designs:
2009-12-17
超声波测距及报警程序
超声波测距及报警程序
可应用于汽车倒车、建筑施工工地以及一些工业现场的位置监控,也可用于如液位、井深、管道长度的测量等场合。要求测量范围在0.10~4.00m,测量精度1cm,测量时与被测物体无直接接触,能够清晰稳定地显示测量结果。
2009-10-30
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人