Could you not do it so the software knows the limitation of the card you connect and you only have the settings for the card you connect.
Maybe a warning if you have set the PWM frequency higer then the card can handel, it will change frequency automatically. And a pop-up will aper. For example for for uno it will say that higer pwm is limited for 2 outputs, and so on and so on.
The hole reason I found this program is that I can’t program. Dyslexic and so on.
Then you need alot of help to solve eaven the simplest things.
Not sure what you mean. If you are talking about Arduino boards, there is limited information for the software to figure things out. For example, this patch can tell if the board is a SAMD, or not. I didn’t see a reliable way of telling the maximum number of bits of resolution. Or even a standard “Does this board support analogWriteResolution()?” answer.
If someone knows how to get the bit possibilities programmatically (and is not a special case per manufacturer’s board), please tell me for inclusion.
This patch only does resolution, not frequency. I agree that the system should help you to get the possible values correct. But, neither the Arduino IDE, nor XOD, have a mechanism like you suggest.
I agree! Not everyone needs to become an expert real-time embedded programmer in c++. The Arduino IDE made some progress. But, maybe things like XOD can give better access.