標(biāo)題: 單片機(jī)加法器proteus仿真圖 [打印本頁]

作者: wmk    時(shí)間: 2018-5-31 22:23
標(biāo)題: 單片機(jī)加法器proteus仿真圖
可以實(shí)行連加操作及數(shù)碼管顯示,數(shù)碼管一共六位 因此可以對(duì)6位數(shù)字進(jìn)行運(yùn)算 精確度很高 里面的對(duì)應(yīng)程序有消抖方法很巧妙,而且利用中斷實(shí)行精確時(shí)間的控制

仿真原理圖如下(proteus仿真工程文件可到本帖附件中下載)


單片機(jī)源程序如下:
  1. /* Main.c file generated by New Project wizard
  2. *
  3. * Created:   周二 四月 17 2018
  4. * Processor: 80C51
  5. * Compiler:  Keil for 8051
  6. */

  7. #include <reg51.h>
  8. #include <stdio.h>

  9. void main(void)
  10. {
  11.    // Write your code here
  12.    while (1)
  13.       ;
  14. }
復(fù)制代碼

所有資料51hei提供下載:
加法.rar (413.08 KB, 下載次數(shù): 18)



作者: admin    時(shí)間: 2018-6-1 03:40
缺少源碼




歡迎光臨 (http://www.torrancerestoration.com/bbs/) Powered by Discuz! X3.1