Shop OBEX P1 Docs P2 Docs Learn Events
Program help... Increase my sonar range please — Parallax Forums

Program help... Increase my sonar range please

okemoabeokemoabe Posts: 12
edited 2010-03-04 01:06 in BASIC Stamp
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

Comments

  • FranklinFranklin Posts: 4,747
    edited 2010-03-04 01:06
    Take a look at DEBUG and the modifier DEC. I think you will find it outputs a BYTE (255 max)

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    - Stephen
Sign In or Register to comment.