Categories

STM32F103 vs GD32F103 round 2: Blink a LED

Posted on Wednesday, February 7th, 2018 in ARM, LEDs by DP

p-blinkaled-1080x675-600

A follow-up to the STM32F103 vs GD32F103 round 1- Solderability post, Sjaak writes:

The defacto ‘hello world’ for microcontrollers is blink a LED at a steady rate. This is exactly what I’m going to do today. I made a small 5×5 development board, soldered it up and started programming. In this first example we not gonna use fancy IRQs or timers to blink at a steady rate, but we insert NOPsas delay. This would give an idea of the RAW performance of the chip. The used code is simple; set up the maximum available clock available and then toggle RA0 for ever.

More details at smdprutser.nl.

This entry was posted on Wednesday, February 7th, 2018 at 1:01 pm and is filed under ARM, LEDs. You can follow any responses to this entry through the RSS 2.0 feed. You can skip to the end and leave a response. Pinging is currently not allowed.

Leave a Reply

Notify me of followup comments via e-mail. You can also subscribe without commenting.

Recent Comments

  • Wilko: It is a nice idea, but I had to remove it after finding out it constantly takes 20% of the processor. (draining the battery) It...
  • Kuro: :3
  • Fred Fish: me
  • hli: Sunday++
  • Kurt: And so with the sunshine and the great bursts of leaves growing on the trees, just as things grow in fast movies, I had that...