-
按键扫描 51单片机加8279
8279通过74LS 138译码器扩展4×4键盘、6位显示器。
由3...
按键扫描 51单片机加8279
8279通过74LS 138译码器扩展4×4键盘、6位显示器。
由3-8译码器对SL0~SL2译出键扫描线,由另一3-8译码器译出显示器的位扫描线,并采用了编码扫描方式。
为了防止出现重键现象,扫描输出线高位SL3不参加键扫描译码。CPU对8279的监视采用了查询方式,故8279的中断请求信号IRQ悬空未用。
-Scan button 82,798,279 plus 51 single-chip decoder 74LS 138 through the expansion of 4 × 4 keyboard, the display 6. From 3-8 decoder SL0 ~ SL2 translated to the key scanning line, by another 3-8 decoder translated display scan line, and uses code scanning. In order to prevent the emergence of the phenomenon of re-key, scan the output line does not take part in high level SL3 scan decoding keys. CPU on the 8279 surveillance using the query mode, the 8279 interrupt request signal IRQ left unused.
- 2022-03-09 10:15:53下载
- 积分:1
-
LCD1602液晶驱动 单片机为AT98S52
LCD1602液晶驱动 单片机为AT98S52-Single-chip LCD driver LCD1602 for AT98S52
- 2023-02-24 01:00:03下载
- 积分:1
-
转载单片机实现TCP/IP协议的完整C源程序,带程序注解的,供大家研究...
转载单片机实现TCP/IP协议的完整C源程序,带程序注解的,供大家研究-reproduced MCU TCP/IP protocol complete C source code, annotated with procedures for everyone to consider! !
- 2022-09-27 11:00:03下载
- 积分:1
-
AVR read coordinates. Items used very valuable code.
AVR单片机读取坐标。
项目中使用过,相当有价值的代码。-AVR read coordinates. Items used very valuable code.
- 2022-03-14 20:00:19下载
- 积分:1
-
用C51实现的拼音输入法,这是改写的网友 embuffalo、独步上载在www.21ic.com自由发布区的由张凯原作的51上的拼音输入法程序。
原作使用...
用C51实现的拼音输入法,这是改写的网友 embuffalo、独步上载在www.21ic.com自由发布区的由张凯原作的51上的拼音输入法程序。
原作使用了一个二维数组用以查表,我认为这样比较的浪费空间,而且每个字表的索引地址要手工输入,效率不高。所以我用结构体将其改写了一下。就是大家现在看到的这个。
因为代码比较的大,共有6,000多汉字,这样就得要12,000 byte来存放GB内码,所以也是没办法的 :-(
编译结果约为3000h,因为大部分是索引表,代码优化几乎无效。
在Keil C里仿真芯片选用的是华邦的W77E58,它有32k ROM, 256B on-chip RAM, 1K on-chip SRAM (用DPTR1指针寻址,相当于有1K的片上xdata)。条件有限,没有上片试验,仿真而已。
打算将其移植到AVR上,但CodeAVRC与IAR EC++在结构体、指针的定义使用上似乎与C51不太一样,现在还未搞定。还希望在这方面有经验的网友能给予指导。-C51 with the Pinyin input method, which is rewritten netizens embuffalo. Unrivaled www.21ic.com available in the free publication of the original work by Kai-51 on the Pinyin input method procedures . Appreciate the use of a two-dimensional array for the look-up table, I think this is a waste of space. Each of the characters but the index table to manually input address, efficiency is not high. I use the structure to rewrite a bit. We see now is this. Because the code comparison, a total of 6, more than 000 Chinese characters, this must
- 2023-04-01 14:55:03下载
- 积分:1
-
三菱梯形图转成51单片机HEX文件。
三菱软件写好梯形图,再运行转换软件,设定好51单片机的输入输出,
打开写好的梯形图,转换出的就是hex文件,烧录到...
三菱梯形图转成51单片机HEX文件。
三菱软件写好梯形图,再运行转换软件,设定好51单片机的输入输出,
打开写好的梯形图,转换出的就是hex文件,烧录到51单片机,51单片机
就可以执行PLC的动作了。51单片机控制板价格便宜,可以代替简单场
合的PLC,控制成本降低。
1:把PWM转换后,在PWM文件下生成一个HEX文件。
2:生成的文件很大,51单片机要选用8K以上(AT89S52就是8K)储存量的。
3:把HEX文件下载到单片机就可以用了。
-Mitsubishi ladder into 51 single-chip HEX file. Mitsubishi software written ladder, and then run the conversion software, set 51 single-chip input and output, open ladder-written, conversion is a hex file, burn to 51 single-chip, 51 single-chip microcomputer can be implementation of the action of PLC. 51 Single-chip panel prices, can replace the simple occasions PLC, control and lower the cost. 1: after the PWM converter, PWM documents generated in a HEX file. 2: generate a lot of paper, 51 single-chip 8K to choose more than (AT89S52 is 8K) storage capacity. 3: The HEX file can be downloaded to a single-chip microcomputer used.
- 2022-09-07 14:30:03下载
- 积分:1
-
320*240液晶 用SEED1335控制的驱动
320*240液晶 用SEED1335控制的驱动-320* 240 LCD driver control with SEED1335
- 2022-01-26 04:25:29下载
- 积分:1
-
c8051f120_ad sampling procedures, well used
c8051f120_ad采样程序 ,很好用的-c8051f120_ad sampling procedures, well used
- 2023-05-07 23:10:02下载
- 积分:1
-
C8051F340的USB传输固件驱动程序、USB传输固件驱动程序
c8051f340 USB传输 固件驱动, c8051f340 USB传输 固件驱动,-c8051f340 USB transfer firmware drivers, c8051f340 USB transfer firmware driver
- 2022-02-03 05:03:19下载
- 积分:1
-
采用89C51采集显示8颗卫星的时间,经纬度信息
采用89C51采集显示8颗卫星的时间,经纬度信息-Use of 89C51 collection displays eight satellites of time, latitude and longitude information
- 2022-12-19 10:00:03下载
- 积分:1