Touseef wrote:martinayotte wrote:What do you wish to accomplish with this "while(!Serial);" ?
I don't see the goal here ...
Martin I just want to write a simple code using which I can blink LEDs on pin 12 and 13. Need guidance on this one.
Then my next goal will be to control a DC servo motor with my board but right now blinking LEDs are my priority.
While specific to the Maple Mini, you should be able to just change the pin definition for your variety of board. My examples:
Now with that said, I wish to ask you to please use the Google site search a bit more often. We are a small forum community, most of the senior members have day jobs and little time for newbie nonsense. You need to jumpstart your understanding by doing some self-study.
Access a google site search like:
<terms to search> site:stm32duino.com