1335【毕设课设】基于单片机的公交车出租车计费器设计
作者:互联网
【资源下载】下载地址如下:
https://docs.qq.com/doc/DTlRSd01BZXNpRUxl
#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);//单价
标签:10,毕设,ShowChina,课设,16,1335,int,flag,extern 来源: https://www.cnblogs.com/ythero/p/14513883.html