I'm trying to use this library: Time_Based_Task_Switcher_Library001.h , very well done and useful, only that while using the Timer0, present in all PIC, requires a POST_SCALER that is not present in many PICs. Could it be modified to make it usable for all PICs?
Thank you
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anobium I thank you for the quick response, you're right the 002.h file is for me, everything works perfectly. I have only one last question and possible to temporarily stop the Task Interrupt, example Run_Task1 and reactivate it later?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I'm trying to use this library: Time_Based_Task_Switcher_Library001.h , very well done and useful, only that while using the Timer0, present in all PIC, requires a POST_SCALER that is not present in many PICs. Could it be modified to make it usable for all PICs?
Thank you
I think if you look at the 002 .h file you can remove the dependency postscaler.
Anobium I thank you for the quick response, you're right the 002.h file is for me, everything works perfectly. I have only one last question and possible to temporarily stop the Task Interrupt, example Run_Task1 and reactivate it later?
This is documented in the Help. See http://gcbasic.sourceforge.net/help/_on_interrupt.html
When you want to stop add
then, to restart, add
Last edit: Anobium 2018-02-18