毕业论文论文范文课程设计实践报告法律论文英语论文教学论文医学论文农学论文艺术论文行政论文管理论文计算机安全
您现在的位置: 毕业论文 >> 课程设计 >> 正文

单片机课程设计出租车计价器设计+源代码

更新时间:2012-9-25:  来源:毕业论文

计价规则

  1、15公里以内每公里收费2元;
  2、15公里以上每公里收费3元;
  3、停车等候时,每累计5分钟加2元;
  5、超过30公里后,超出部分加收50%的空返费;
  4、起步价3公里10元。#include <At89x52.h>
#include <stdio.h>
#include <string.h>本文来自辣.文,论-文·网原文请找腾讯324.9114
#include "lcd.h"

 typedef struct typFNT毕业论文http://www.751com.cn/  _Char     //------字符字模显示数据结构------
{
   char Index_Char[1];
   char Msk_Char[16];
};
struct typFNT_Char code ASC_16[] = {//-----显示为8*16-----
   // MingLiu体
   "0",0x00,0xF0,0x08,0x04,0xC4,0x28,0xF0,0x00,0x00,0x0F,0x14,0x23,0x20,0x10,0x0F,0x00,
   "1",0x00,0x00,0x00,0x08,0xFC,0x00,0x00,0x00,0x00,0x00,0x00,0x20,0x3F,0x20,0x00,0x00,
   "2",0x00,0x18,0x04,0x04,0x04,0x88,0x70,0x00,0x00,0x30,0x28,0x24,0x22,0x21,0x30,0x00,
   "3",0x00,0x08,0x04,0x84,0xC4,0x38,0x00,0x00,0x00,0x20,0x20,0x20,0x20,0x11,0x0E,0x00,
   "4",0x00,0x00,0x80,0x60,0x18,0xFC,0x00,0x00,0x00,0x06,0x05,0x04,0x04,0x3F,0x04,0x00,
   "5",0x00,0x00,0x7C,0x44,0x44,0x84,0x04,0x00,0x00,0x20,0x20,0x20,0x20,0x10,0x0F,0x00,
   "6",0x00,0xE0,0x90,0x48,0x44,0x84,0x04,0x00,0x00,0x0F,0x10,0x20,0x20,0x10,0x0F,0x00,
   "7",0x00,0x1C,0x04,0x04,0x04,0xE4,0x1C,0x00,0x00,0x00,0x00,0x38,0x07,0x00,0x00,0x00,
   "8",0x00,0x30,0x48,0x84,0x84,0x48,0x30,0x00,0x00,0x0E,0x11,0x20,0x20,0x11,0x0E,0x00,
   "9",0x00,0xF0,0x08,0x04,0x04,0x08,0xF0,0x00,0x00,0x20,0x21,0x22,0x12,0x09,0x07,0x00,
   ".",0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x0C,0x0C,0x00,0x00,0x00,
   ":",0x00,0x00,0x00,0x60,0x60,0x00,0x00,0x00,0x00,0x00,0x00,0x0C,0x0C,0x00,0x00,0x00,
 };
 
 typedef struct typFNT_GB16     //------字符字模显示数据结构------
{
   char Index_GB16[2];
   char Msk_GB16[32];2528

[1] [2] [3] [4] 下一页

单片机课程设计出租车计价器设计+源代码下载如图片无法显示或论文不完整,请联系qq752018766
设为首页 | 联系站长 | 友情链接 | 网站地图 |

copyright©751com.cn 辣文论文网 严禁转载
如果本毕业论文网损害了您的利益或者侵犯了您的权利,请及时联系,我们一定会及时改正。