Search found 1 match

by oussama
Mon Feb 04, 2019 1:47 pm
Forum: Showcase
Topic: HC-SR04 using RMT - very fast
Replies: 16
Views: 36284

Re: HC-SR04 using RMT - very fast

Hello, First of all thank you for your code it works perfectly. now i'm traing to simplify the ligne: distance = 340.29 * ITEM_DURATION(item->duration0) / (1000 * 1000 * 2); Because the μC works for nothing if we break down in number of instructions. The sensor being linear, it is necessary to simpl...