PIC Sonar C souce code modification

Status
Not open for further replies.

tariq7868

New Member
Hello ,
I am making PIC sonar range finder of which wircuit was available at A PIC sonar (ultrasonic) range finding project. ,now i want to modify its c code such as that instead of displaying the distance in cm on 7Segment,it gives me value of distance in binary at portA, but as at the web it says that it can measure upto 3m=300cm but as 8bit can represent only 0-255 ,,, so please help me out with it ,
The c souce code :
<Sorry, Attachment option seems to be not working>

 
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…