• AVR Freaks

Hot!PIC18F45K20 Hc sr04 LCD

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

PIC18F45K20 Hc sr04 LCD

HI all,
I'm currently working on a project involving ultrasonic sensor but i have trouble putting calculations on the LCD display(16x2).
When i run code inside while loop echo goes low and turn timer1 On but it wont go high.
I ve attached  my code.Can anyone have o look on it please?

1 Reply Related Threads

    Super Member
    • Total Posts : 1925
    • Reward points : 0
    • Joined: 2013/06/11 05:25:18
    • Location: South Africa
    • Status: offline
    Re: PIC18F45K20 Hc sr04 LCD 2020/11/30 08:39:14 (permalink)
    +2 (2)
    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
    Jump to:
    © 2021 APG vNext Commercial Version 4.5