Closed
Description
Hello,
This is more of a question than an issue.
I am using hardware timer code from example sketch Link
facing problem while initialisation of timer here MyTim->attachInterrupt(Update_IT_callback);
here in the core, this function is required void Update_IT_callback ( HardwareTimer*)
as suggested by this error message invalid conversion from 'void (*)()' to 'void (*)(HardwareTimer*)
changing void Update_IT_callback ( void)
to void Update_IT_callback ( HardwareTimer*)
is solving my issue.
but please let em know that this fix is done in a proper way to avoid further issues in my code?
also please update the example code for better understanding of new function
thanks.