Please explain the below
Hello guys. i have NewPing_v1.9.0бversion 1.5 no longer download
You have newping version 1.9.0?
Version 1.5 is the version of your IDE or ...?
No longer download means? That you can't upload code to the Arduino or that you can no longer download something from the web (if so, what?)? The error that you get has nothing to do with download; it's a linker error so I'm confused.
Which Arduino are you using?
NewPing version 1.9.0 contains
#if defined (__AVR_ATmega32U4__) // Use Timer4 for ATmega32U4 (Teensy/Leonardo).
ISR(TIMER4_OVF_vect) {
intFunc(); // Call wrapped function.
}
#elif defined (__AVR_ATmega8__) || defined (__AVR_ATmega16__) || defined (__AVR_ATmega32__) || defined (__AVR_ATmega8535__) // Alternate timer commands for certain microcontrollers.
ISR(TIMER2_COMP_vect) {
intFunc(); // Call wrapped function.
}
#elif defined (__arm__)
// Do nothing...
#else
ISR(TIMER2_COMPA_vect) {
intFunc(); // Call wrapped function.
}
#endif
It's the closest that I could find relating to what you posted.
Have you considered following the advice in reply #11? It's probably the simplest solution unless you need timer1 for something else in which case you probably have another problem.