This example demonstrates GPIO Port library functionalities. Turn on switches for PORT LEDS in the BOARD SETUP section of your board to see LEDs light up and turn off port by port.
- Authors : MIKROE
- Version : 3.0.0
- Date : ${COPYRIGHT_YEAR}.
We provide demo code for demonstrating GPIO Port library functionalities. To run this example, follow these steps:
- Install the package from Package manager.
- Open example.
- It will take you to setups, so make one for your hardware.
- Choose adequate setup and the project will open.
- Program it by clicking on Flash.
- LEDs should start lighting up port by port.
- Once all the LEDs are on, they should start turning off port by port too, but in reverse order.