超声波.uvproj
mup6050+超声波+lcd12864显示
#include
#include"chaoshengbo.h"
#include"lcd12864.h"
#include"mup.h"
voiddisplay()
{
uinta1,b1,c1;
a1=distance1%1000/100;
b1=distance1%1000%100/10;
c1=distance1%1000%100%10;
// a2=distance2%1000/100;
// b2=distance2%1000%100/10;
// c2=distance2%1000
下载地址
用户评论