2763.E简单电子计算器程序.doc
《2763.E简单电子计算器程序.doc》由会员分享,可在线阅读,更多相关《2763.E简单电子计算器程序.doc(4页珍藏版)》请在三一办公上搜索。
1、#include #include #define RS P1_7#define RW P1_6#define E P1_5int keytime;/获取按键次数unsigned int a10;/获取数值数组最大10位int yunsuan;/运算符识别yunsuan=0;unsigned int num1;/获取第一个数unsigned int num2;/获取第二个数unsigned int num;/用于暂存unsigned int result;/获取结果void mDelay(unsigned char DelayTime)/一个延时程序unsigned int j=0;for(;
2、DelayTime0;DelayTime-) for(j=0;j7)over();else LCD_output(+); yunsuan=1; suan1(); keytime=0; keyjian()if(keytime7)over();else LCD_output(-); yunsuan=2; suan1(); keytime=0;keycheng()if(keytime7)over();else LCD_output(*); yunsuan=3; suan1(); keytime=0;keychu()if(keytime7)over();else LCD_output(/); yuns
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- 2763.E 简单电子计算器程序 2763. 简单 电子 计算器 程序

链接地址:https://www.31ppt.com/p-4146059.html