Shop OBEX P1 Docs P2 Docs Learn Events
How to use PING)) with 16F877A — Parallax Forums

How to use PING)) with 16F877A

ultimateremedyultimateremedy Posts: 29
edited 2009-07-03 05:08 in Accessories
Hi

Well I know how use PING with BS2 using PBasic and have used it well Now for the next step I want to PING)) with PIC16F877A (using MikroBasic) and at this stage i need help/suggestion from you guys as i don't have any clue what to do or where to start.

Please tell me how to use it? any algo? link? or code segment shall be highly appropriated.

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
An hour's contemplation is better than a year's adoration.

Comments

  • FranklinFranklin Posts: 4,747
    edited 2009-07-03 04:55
    I'd start here forum.microchip.com
    and here www.mikroe.com/forum

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    - Stephen
  • Mike GreenMike Green Posts: 23,101
    edited 2009-07-03 05:08
    You have to duplicate the functionality of the PBasic statements with whatever microcontroller you intend to use. The PBasic programs use PULSOUT and PULSIN to produce the trigger pulse for the PING and measure the width of the return pulse from the PING. Start with the PBasic sample programs and the PING documentation. We can't help you further.
Sign In or Register to comment.