codehaven - php snippets - coding help
Generic filters
Exact matches only
  • HC-SR04 – Sonar Sensor Code (Raspberry Pi)

    29th November 2014

    Raspberry-Pi

    Raspberrypi - Codehaven

    Measures distance continuously every .5 of a second
    Uses : ce0 = pin24 = gpio 8 (This has a resistor inline)
    ce1 = pin 26 = gpio7

    Was this code snippet helpful?