Skip to content

Having trouble receiving the signal on echo #4

Description

@VladDob

For some reason my program gets stuck in the while loop that checks if the echo pin is 0, and because it's always 0, it gets stuck there. I tried creating a version of this program in C/C++ too for the Pico, but it still doesn't work. I have tried it with 2 different sensors too, thinking that it might be a component problem, but no luck. I also tried a version of this using an arduino and it works fine. Do you have any idea what might be causing the issue with my pico?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions