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

  • Dan: Hoping for a board!
  • Crawford: Dog pants,
  • Iain NoSpam: A very random comment from a very random commenter.
  • Kurt: Darkness falls across the land The midnight hour is close at hand
  • Jack: I hope everyone at Dangerous Prototypes wins a share of the MegaMillions jackpot tonight.