We strongly encourage users to use Package manager for sharing their code on Libstock website, because it boosts your efficiency and leaves the end user with no room for error. [more info]
Rating:
Author: MIKROE
Last Updated: 2024-07-09
Package Version: 2.0.0.31
mikroSDK Library: 2.0.0.0
Category: Force
Downloaded: 341 times
Not followed.
License: MIT license
The application demonstrates GPIO SDK functionality.
Do you want to subscribe in order to receive notifications regarding "LED Blinking Demo" changes.
Do you want to unsubscribe in order to stop receiving notifications regarding "LED Blinking Demo" changes.
Do you want to report abuse regarding "LED Blinking Demo".
DOWNLOAD LINK | RELATED COMPILER | CONTAINS |
---|---|---|
5014_led_blinking_dem.zip [7.11KB] | mikroC AI for ARM GCC for ARM Clang for ARM mikroC AI for PIC mikroC AI for PIC32 XC32 GCC for RISC-V Clang for RISC-V mikroC AI for AVR mikroC AI for dsPIC XC16 |
|
This is a simple LED blinking example, utilizing mikroSDK 2.0 GPIO driver library. The specified LED will be toggled with period of 1 second. Take into consideration that your hardware might not have the specified pin.
We provide simple demo code for toggling one pin. To run this example, follow these steps:
LED pin is defined as MIKROBUS_1_CS in code, so make sure that pin is routed to port LEDs. If it isn't, then change LED in code. Alternatively, place Tester click in mikroBUS 1.