Hi Amanda, I have tried to create a smaller sketch to average the reading but still running into trouble
at line 82 sumDistance=sumDistance+distance[j];
invalid types ‘int[int]’ for array subscript,
in this example I am averaging 5 readings.
Could you please correct the sketch for me I am desperate and frustrated, its probable an easy fix but I still can’t get it., with regard the display problem I have overcome it…
Many Thanks
Doug
Distance_read_Error.ino (2.3 KB)
