srf04.c (8f73a13f74571941c2ad6d04c65b52d39cbdf90b) | srf04.c (3593cd53962fa17e4eaaae8faa5c8f62ec7bbd5e) |
---|---|
1// SPDX-License-Identifier: GPL-2.0-or-later 2/* 3 * SRF04: ultrasonic sensor for distance measuring by using GPIOs 4 * 5 * Copyright (c) 2017 Andreas Klinger <ak@it-klinger.de> 6 * 7 * For details about the device see: | 1// SPDX-License-Identifier: GPL-2.0-or-later 2/* 3 * SRF04: ultrasonic sensor for distance measuring by using GPIOs 4 * 5 * Copyright (c) 2017 Andreas Klinger <ak@it-klinger.de> 6 * 7 * For details about the device see: |
8 * http://www.robot-electronics.co.uk/htm/srf04tech.htm | 8 * https://www.robot-electronics.co.uk/htm/srf04tech.htm |
9 * 10 * the measurement cycle as timing diagram looks like: 11 * 12 * +---+ 13 * GPIO | | 14 * trig: --+ +------------------------------------------------------ 15 * ^ ^ 16 * |<->| --- 392 unchanged lines hidden --- | 9 * 10 * the measurement cycle as timing diagram looks like: 11 * 12 * +---+ 13 * GPIO | | 14 * trig: --+ +------------------------------------------------------ 15 * ^ ^ 16 * |<->| --- 392 unchanged lines hidden --- |