HI im new at Arduino but im trying my best.
so here was the problem.
im using HCRS-04 Distance Sonar(?), LearningShield/MultiFunctional Shield, Arduino Mega328(?) for a certain self project. im trying to use distance sonar to gather some distance from a certain wall/object, then the distance will be display at Learning Shield/MultiFunctional Shield.
i am following different guides and pdf files. for example, i followed this guide. i also watch the video. https://www.mpja.com/download/hackatronics-arduino-multi-function-shield.pdf page 10(here is the video - YouTube). in the video, his arduino IS working but when i tried to use it on my own arduino, it is not showing. it just show some random 7 segment light working but it doesnt change no matter what i do to sonar.
it always show," no matching function for call to ‘MultiFuncShield::initialize(TimerOne*)’"
i also tried to use different guide that does not use TimerOne but it is still not working. the led does not display the number when it comes to distance sensor.
I assume 3 problem. one is wrong code–but more likely not, because the guides show working perfectly but not in my case. two is wrong arduino–in the guide they are using Arduino Compatible Uno R3. but im using Mega328. last is maybe wrong shield? i bought one here.
if possible, can anyone provide me the code for distance sensor without using TimerOne if possible that this is really impossible for me. specially for and if im using MEga328 since i will consider buying Mega Uno R3 but maybe few more weeks .