LED Blinking using GPIO Peripherals in LPC1768

INTRODUCTION

The GPIO peripheral controls the basic input output functionality in a microcontroller. The first program
for a beginner in programming is the “Hello World!!!” program. Similarly, the LED blinking is the first
program in the embedded engineering field.

OBJECTIVES

  1. In the first section of this topic, we will cover the basic hardware setup required for LED blinking.
  2. Next, we will learn the registers that handle the GPIO peripheral. Priority will be given on how to write
    data onto a register.
  3. Finally, we will create an LED blinking program and understand its program flow.