PDA

View Full Version : Program help... Increase my sonar range please



okemoabe
03-03-2010, 07:03 PM
I am running this attached code, SONAR.BS2, to run my Short Range Sonar project which i want to measure up to
3metres. The code attached calculates the flight time of maximum 255. I would like sum1 to modify my code so that
I have a maximum flight time = 2048.

The code is giving me a problem because i am very new to the language, I will be glad to have your support.

Thank you

Franklin
03-04-2010, 08:06 AM
Take a look at DEBUG and the modifier DEC. I think you will find it outputs a BYTE (255 max)

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
- Stephen