LED Blinking using GPIO peripherals in PIC18F4550

INTRODUCTION

Depending on the device selected and features selected there are up to five I/O ports available.The GPIO peripheral controls the basic input output functionality in a microcontroller.

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 I/O operation. 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.