Hello guys I have some problem with my program code. I have to add some kind of numerical method (e.g FFT, interpolation) in my HC-SR04 Ultrasonic Sensor. I know it doesnt make any sense cause HC-SR04 is fast enough without any NM but my teacher will kill me if i woudnt add something here. I was trying add something for about 3 days and i failed, but i'm sure that for some of You its about 5 minutes of work. So I will be very very gratefull if someone would modify my code and add some NM.
Peace and love to all helpfull folks.
No, my idea is to put eg approximation function into main loop (void loop) which took my TIME table (10 sygnals), approximate them and then show on LCD mean value of approximate funcion of 10 measures