Home 2018 Forums Crumble Support How to use the HC-SR04 distance sensor

Viewing 1 post (of 1 total)
  • Author
  • #4211

    Connect the sensor as shown. Use the code as shown to get a value from the sensor and save it into a variable. This allows you to watch the value as the program runs.

Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.