Summary

  • Rudra Lad has entered the 2025 One Hertz Challenge with a piece of code that creates a blinking LED on an STM32F4 Discovery microcontroller, writes Hackaday.
  • The code, which compiles to under 50 bytes, is designed to get the LED blinking as close to once per second as possible.
  • To achieve this, Lad optimised the code by removing all unnecessary elements, such as the standard startup code and RAM.
  • He also developed a new delay-counting method, which eventually resulted in a blink frequency of 1.00019 Hz.
  • This is significantly closer to 1 Hz than the 20-30 Hz rates achieved by other entries to the contest so far.

By Lewin Day

Original Article