DL : 0
/**********************************多级菜单LCD显示********************************************/ /*********作者:王胜文。QQ:95201972 email:nunk@163.com 希望与大家交流2007。08。03**********/ #include #include #include #include #include void (*current_operation_index)();// uchar func_index=0; uchar func_index; typedef struct { uchar current; uchar up; uchar down; uchar enter; void (*current_operation)(); } key_table;
Update : 2009-02-23
Size : 92.51kb
Publisher : bg7img
DL : 0
C51智能反编译器-C51 intelligence counter- compiler
Update : 2025-02-17
Size : 247kb
Publisher : 林松
DL : 0
一个非常好的字模提取软件----适用于c51,51系列单片机的汉字的代码获得-A very cool Word pattern pick-up software,for chinese character patter pick-up ,on C51/51 series SCM.
Update : 2025-02-17
Size : 256kb
Publisher :
DL : 0
20X2字符型LCD驱动程式,Keill c51源代码。-20X2 character LCD driver programs, Keill decoder source code.
Update : 2025-02-17
Size : 35kb
Publisher : zyt
DL : 0
//日历时钟
//按AN1,进入设置状态
//按AN2,停止闹钟声音
//按AN3,依次进入闹钟功能是否启用,闹钟时,分秒,年,月,日及时间时,分,秒的设置,直到退出设置状态
//按AN4,调整是否起用闹钟和调节闹钟时,分,秒,年,月,日,时间的时,分,秒的数字
//LCD第二排中间显示小喇叭,表示启用闹钟功能,无则禁止闹钟功能(可在调整状态进行设置)
//正常状态,LCD上排最前面显示自定义字符,LCD下排最前面闪动"willar"
//设置状态,LCD上排最前面显示"P",下排最前面在设置闹钟时间时显示"alarm:",其它状态显示"time"
//年代变化2000--2099,星期自动转换-//Calendar Clock// by AN1, access settings// based on the criteria of AN2. stop alarm sound// C.acidovorans AN3 by, in order, into whether the opening of an alarm clock, alarm clock, every minute, year, month, Day and time, the minute and second set until the withdrawal settings// by TCD, whether the use of an alarm clock adjustment and regulation clock hours, minutes, and seconds, month, day and time when, the number of seconds// second-row LCD display among small speakers, said the opening of an alarm clock. no prohibit the alarm clock (which can adjust the state installed)// normal. LCD display on the front row- defined characters, LCD front row under flashing "willar"// settings, LCD on the front row shows that the "P" under the front row set alarm
Update : 2025-02-17
Size : 5kb
Publisher : 李林
DL : 0
液晶SMC1602原c51程序,调试环境keil 51,调试成功,希望对大家有用-LCD SMC1602 original decoder procedure debugging environment Keil 51, debug success we hope to useful
Update : 2025-02-17
Size : 194kb
Publisher : 大锅饭
DL : 0
通用C51单片机正弦波立产生程序,可别错过啊-GM C51 microcontroller sine legislature have procedures, and others ah
Update : 2025-02-17
Size : 23kb
Publisher : 廖文建
DL : 0
零耗时低频宽脉冲软PWM信号控制C51演示程序-zero time-consuming low-bandwidth pulses soft PWM control signal C51 Demonstration Program
Update : 2025-02-17
Size : 5kb
Publisher : gw
DL : 0
这个东东还是可以用的,是KEIL C51的汇编配置文件,很有用,对于搞单片机的同志们来说!-the Eastern can still use, is a compilation of KEIL C51 configuration file, useful, MCU for engaging comrades run!
Update : 2025-02-17
Size : 525kb
Publisher :
DL : 0
sd2003芯片资料及源码,C51下的,可以直接使用,不是厂方提供的测试程序,
相应子程序:
extern void ini_SD2003(void)
extern bit mend_scl_SD2003(void)
extern bit start_bit_SD2003(void)
extern void stop_bit_SD2003(void)
extern void ack_SD2003(void)
extern void no_ack_SD2003(void)
extern void mast_ack_SD2003(void)
extern void write_8bit_SD2003(UCHAR ch)
extern UCHAR Read_8bit_SD2003(void)
extern void write_8bit_SD2003_R(UCHAR ch)
extern UCHAR Read_8bit_SD2003_R(void)
extern bit Readblock_SD2003(UCHAR ucommand,UCHAR *p)
extern bit Writeblock_SD2003(UCHAR ucommand,UCHAR *p) -sd2003 chip data and source, C51 under, can be directly used instead of the factory test procedures provided by the corresponding subroutine: extern void ini_SD2003 (void) extern bit mend_scl_SD2003 (void) extern bit start_bit_SD2003 (void) extern void stop_bit_SD2003 (void ) extern void ack_SD2003 (void) extern void no_ack_SD2003 (void) extern void mast_ack_SD2003 (void) extern void write_8bit_SD2003 (UCHAR ch) extern UCHAR Read_8bit_SD2003 (void) extern void write_8bit_SD2003_R (UCHAR ch) extern UCHAR Read_8bit_SD2003_R (void) extern bit Readblock_SD2003 (UCHAR ucommand, UCHAR* p) extern bit Writeblock_SD2003 (UCHAR ucommand, UCHAR* p)
Update : 2025-02-17
Size : 629kb
Publisher : 无姓名
DL : 0
智能车控制,基于c51,LCD显示,带模式选择功能,可选择直线,S线,全自动模式,统计运行情况-intelligent car control, based on the decoder, LCD display, with mode selection function, the option of straight lines, S Line, Automatic mode operation of the Statistics
Update : 2025-02-17
Size : 9kb
Publisher : 梁生
DL : 0
dds9850信号发生程序
函数信号发生器c51程序-procedures dds9850 signal function signal generator C51 program
Update : 2025-02-17
Size : 2.89mb
Publisher : coldx06
DL : 0
以atmel AT89C51为核心的超小型PLC源代码-Atmel AT89C51 to as the core of the ultra-small PLC source code
Update : 2025-02-17
Size : 46kb
Publisher : penghao
DL : 0
功能:实现pc机键盘(p/s2接口)与8位单片机连接使用
原理:键盘时钟接在p3.2口,既8051的外部中断int0上,键盘数据接到p1.0上
每次按键,键盘会向单片机发脉冲使单片机发生外部中断,数据有p1.0口一位一位传进来
传回的数据格式为:1位开始位(0),8位数据位(所按按键的通码,用来识别按键),1位校验位(奇校验)
1位结束位(1)
实现:将键盘发回的数据放到一个缓冲区里(数组),当按键结束后发生内部中断来处理所按的按键
缺点:由于51单片机的容量有限所以缓冲区不可以开的太大,这就导致可以记录键盘的按键次数过少,
也就是容错性一般。不过如果正常使用键盘是不会出错的
Update : 2025-02-17
Size : 2kb
Publisher : felix
DL : 0
AT89S52通过PWM控制步进电机的C51程序,实现了四相步进电机的起停、速度、方向控制,并具有避免速度切换过快造成丢部的功能。Keil编写,Proteus7下仿真通过。-A program of the stepper motor controlment using PWM method.
Update : 2025-02-17
Size : 21kb
Publisher : yushun
DL : 1
智能水温控制PID算法,C51版本,参加电赛培训的时候写的。-Intelligent PID temperature control algorithm, C51 version, the time to take a motor race training written.
Update : 2025-02-17
Size : 111kb
Publisher : zzy
CodeBus is one of the largest source code repositories on the Internet!
Contact us :
1999-2046
CodeBus All Rights Reserved.