1335【毕设课设】基于单片机的公交车出租车计费器设计

【资源下载】下载地址如下:
https://docs.qq.com/doc/DTlRSd01BZXNpRUxl

1335【毕设课设】基于单片机的公交车出租车计费器设计

 

#include <reg51.h>
#include <LCD12864.H>
#include <key.h>
#include <timer.h>
#include <interrupt.h>
int i;
extern int flag_mode;
extern int flag_state;
extern int flag_base;
extern int flag_price;
extern int time;
extern int s_s;
extern int s_g;
extern int f_s;
extern int f_g;
extern int m_s;
extern int m_g;
extern int flag_run;
extern int flag_sum;
int sum=0;
void init_LCD()
{  
	InitLCD();	  //初始化LCD12864
	ClearScreen(0);
//第一行内容:
	ShowChina(0,16*0+0,0+10);
	ShowChina(0,16*1+0,1+10); //模式
	ShowChina(0,16*2+8,2+10);
	ShowChina(0,16*3+8,3+10);
	ShowChina(0,16*4+8,4+10);//起步价
	ShowChina(0,16*5+16,5+10);
	ShowChina(0,16*6+16,6+10);//单价

1335【毕设课设】基于单片机的公交车出租车计费器设计

 

 

  

 

上一篇:Uncaught TypeError: form.attr is not a function 解决办法


下一篇:C语言:extern应用