• AVR Freaks

Hot!Problem with interfacing PIC18f45K20 and ultrasonic sensor

Author
simski24
New Member
  • Total Posts : 3
  • Reward points : 0
  • Joined: 2019/04/18 02:31:38
  • Location: 0
  • Status: offline
2020/11/29 08:27:25 (permalink)
0

Problem with interfacing PIC18f45K20 and ultrasonic sensor

Hi all,
I am struggled with programming my pic . It will let me debug without errors has only some warnings but it wont display results on LCD.Other issue is with the loop that timer is turn ON/OFF.It will turn on the timer when Echo goes lo but it never stop timer. If anyone can have a look on my code please.There got to be something that i am doing wrong.
Does anyone have any pointers?
Thanks
#1

1 Reply Related Threads

    katela
    Super Member
    • Total Posts : 1925
    • Reward points : 0
    • Joined: 2013/06/11 05:25:18
    • Location: South Africa
    • Status: offline
    Re: Problem with interfacing PIC18f45K20 and ultrasonic sensor 2020/11/30 08:38:01 (permalink)
    +1 (3)
    It's not good posting same topic multiple times, this just open discussions in multiple places.
    Same as this post which also have config bits: https://www.microchip.com/forums/m1159055.aspx
     

    Free online Microcontroller Tutorials and Projects for Hobbyists and students. From beginners to advanced. Website: www.studentcompanion.co.za
    YouTube Tutorials: https://www.youtube.com/StudentCompanionSA
    #2
    Jump to:
    © 2021 APG vNext Commercial Version 4.5