Code that used to work fine on my 5v Trinket Pro is now throwing error messages during compilation when using a Trinket M0...this looks way above my experience so can someone please advise?
Error message is as follows;
****/Arduino15\packages\adafruit\hardware\samd\1.5.0\libraries\SPI\SPI.cpp:408:6: error: 'SERCOM4' was not declared in this scope
Grumpy_Mike:
Vastly different processor so no surprise it won’t work.
But you know the drill here after 288 posts, post the code if you want help.
In this case, it wouldn't have helped...wasn't anything in my code that changed...gent who wrote the OLED library very kindly added the solution as pointed out by Pert.
Yes it would. I would have tried to compile it and it would have worked or not. Then I could have tracked down the trouble and would have found it.
I did think long and hard about helping you after all the grief I got last time. However, I thought i would give you the benefit of the doubt to see if you were any better behaved. Sadly you are not.
I will try and resist the temptation to help you again. Sorry.
Mike: YOU got grief? I seem to remember you gave as good as you got...and, it seems are still giving.
The reason I didn't post the code, is I hadn't changed it. At all. It worked on my old chip. I changed the chip, and it stopped working. I see this as a trust issue really...you wouldn't take my word for it that working code had simply stopped working. This is why, as I recall, I asked YOU not to help in future...not the other way around.
Delta: If we'd known there was a list, all those of us who come here in good faith, but perhaps are not as knowledgeable as Mike and your good self...
(and let's be honest, if we were, we wouldn't need the help in the first place...)
...would sign up for said "list" if it means people who want to make seeking help as hard as possible didn't actually contact us.
Someone else solved this problem. I didn't post any code for them; just the error same as I did here. Pert's intervention was welcome - he/she broadened the availability of the answer.
I don't see what Mike's contribution or yours have added to the thread, other than to make the forum seem a confrontational and adversarial environment.
Noobs: do not despair! Help IS available on this forum...if you speak to the right people.