title: How to do Led blink with each port, using stm32 (stm32f103c8t6) boards and Adruino
body: <p>I am completely new to this and willing to do a simple task using stm32f103c8t6 board, which is "led blink".</p>
  
  <p>Using ArduinoIDE and a simple circuit as shown in the picture, everything goes fine on port PC13. but as soon as I try other ports, it doesn't work. 
  My aim is to be able to toggle the led status using ports PA0 to PA5.</p>
  
  <p>Here is my code:</p>
  
  <pre><code>void setup() {
    // initialize the digital pin as an output.
    pinMode(PC13, OUTPUT);
  }
  
  void loop() {
    digitalWrite(PC13, HIGH);   // turn the LED on (HIGH is the voltage level)
    delay(1000);                       // wait for a second
    digitalWrite(PC13, LOW);    // turn the LED off by making the voltage LOW
    delay(1000);                       // wait for a second
  }
  </code></pre>
  
  <p>I change PC13 to PA0, and rewire the board, but no luck :(</p>
  
  <p>How can I solve this issue. 
  Any kind of help is highly appreciated. </p>
  
  <p><a href="https://i.stack.imgur.com/ApVoS.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ApVoS.jpg" alt="enter image description here"></a></p>