文件名称:chaochengbocejuchegnxu
介绍说明--下载内容来自于网络,使用问题请自行百度
NUM= (COUNT/10000)*344 //计算超声波来回距离
// NUM= NUM/2 //总距离除2等于实际距离
BWEI=NUM/100 //输出百位
SHWEI=NUM 100/10 //输出十位
GWEI=NUM 10 //输出个位
AGAIN=1 //接收正确AGAIN=1
}
模拟反射程序
-NUM = (COUNT/10000)* 344 // calculate the distance ultrasonic back and forth// NUM = NUM / 2 // total distance divided by 2 is equal to the actual distance BWEI = NUM/100 // output one hundred SHWEI = NUM 100/10 // output ten GWEI = NUM 10 // output bits AGAIN = 1 // receive the correct AGAIN = 1} reflection process simulation
// NUM= NUM/2 //总距离除2等于实际距离
BWEI=NUM/100 //输出百位
SHWEI=NUM 100/10 //输出十位
GWEI=NUM 10 //输出个位
AGAIN=1 //接收正确AGAIN=1
}
模拟反射程序
-NUM = (COUNT/10000)* 344 // calculate the distance ultrasonic back and forth// NUM = NUM / 2 // total distance divided by 2 is equal to the actual distance BWEI = NUM/100 // output one hundred SHWEI = NUM 100/10 // output ten GWEI = NUM 10 // output bits AGAIN = 1 // receive the correct AGAIN = 1} reflection process simulation
(系统自动生成,下载前可以参看下载内容)
下载文件列表
chaochengbocejuchegnxu.doc
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.