Since Lockdown I set myself the task of writing a Library for my Arduino sketch which in itself works well
I've tried and tried by example but without success after 4 weeks of study to solve the problem.
I have completed a sketch in IDE 1.8.12 to include class definitions etc etc to be the contents of my .h file and appropriate code for my .cpp file followed by the operating sketch taken from my original code.
I am so depressed now no amount of research by comparison with known works have given me an answer.
Is it best if I upload my complete code for your critical examination by you experts.
One big disadvantage of mine may be that I am 80 years OLD!!!
Only 8 more week in isolation to go, ain't that good, I need cheering up big time.