Commit Graph

6 Commits

Author SHA1 Message Date
142efdfe00 Register interrupt handler only once. Fixes #9 2017-10-16 18:08:44 +02:00
886451cc92 Separated Qt and WiringPi code in distance thread 2017-10-16 16:53:11 +02:00
9d26ec5ab5 Stabilized distance reading by using 15 sample median 2017-10-16 09:14:45 +02:00
140ade4ef6 Implemented median for distance measurement, fixes #3 2017-10-16 08:06:16 +02:00
4811ab8239 Handle echo pulse edges in correct order.
only emit a new distance value if echo pulse edges trigger in the right order. Fixes #1
2017-10-15 13:19:56 +02:00
94611f2381 Initial import 2017-10-15 12:30:15 +02:00