This example demonstrates GPIO Port library functionalities. Turn on switches for PORT LEDS in the BOARD SETUP section of your board to see PORT B LEDs light up and turn off in "curtain"-like motion.
- Authors : MIKROE
- Version : 3.0.0
- Date : ${COPYRIGHT_YEAR}.
We provide simple demo code for toggling LEDs. 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 on port B should start toggling in "curtain"-like motion.
Make sure port B exists on your hardware. If not, you can change the port in code.