Saturday, September 21, 2024

How to flash an almost blank sketch

How to flash an almost blank sketch

In the Hello World project, we flashed a sketch/program into the Arduino Uno that blinks the built-in LED. In this project, we will write a small progrom that explicitly turns off the LED and do nothing. Without explicitly turning it off, the built-in LED might be stuck ON.

Create a bare minimum sketch

Replace the sketch/program as shown below

Then, upload the sketch.

No comments:

Post a Comment

Q&A: How to create a blinky baremetal application on STM32F407G-DISC1 using STM32CubeMX and Keil μVision

Q: How to create a blinky baremetal application on STM32F407G-DISC1 using STM32CubeMX and Keil μVision Answer: Blinking an LED is the equiv...