I would suggest to display the updated variable outside the ISR routine.
May be set a flag and at main check the flag and then display your variable.
To be honest I do not like the on interrupt. I 'd prefer DT-INTS18.
Ioannis
I would suggest to display the updated variable outside the ISR routine.
May be set a flag and at main check the flag and then display your variable.
To be honest I do not like the on interrupt. I 'd prefer DT-INTS18.
Ioannis
Thank you for your thoughtful reply, Ioannis. I managed to solve or, at least, work around the immediate problem.
I suppose you are completely correct about moving to DT interrupts. Old habits are hard to break... This is as good a project as any to give it a a shot.
Best Regards,
Paul
The way to avoid mistakes is to gain experience. The way to gain experience is to make mistakes.
Well that was easier than expected... Switched over to DT_INTS-18 interrupts. No problems, no hiccups. I have to admit this is pretty darned slick.
Thanks for giving me the push to dive in.
Best Regards,
Paul
The way to avoid mistakes is to gain experience. The way to gain experience is to make mistakes.
This is the spirit of the forum, isn't it?
Glad you got it working.
Ioannis
Bookmarks