IAR Information Center for STMicroelectronics STM8

Example description

STM8S-Discovery Simple LED Blink Example

This example uses the STM8S-Discovery board with the STM8S105C6 device and demonstrates how to make the LED blink.

Follow the steps below to run the example on your hardware.

  • Connect the computer and the STM8S-Discovery board using a USB cable.
  • Open the project.
  • Choose Project>Download and Debug. This will build and download your application to the STM8S-Discovery board, and then start the debugging session.
  • To execute the application in the debugger, choose Debug>Go.