TOP Contributors

  1. MIKROE (2784 codes)
  2. Alcides Ramos (387 codes)
  3. Shawon Shahryiar (307 codes)
  4. jm_palomino (120 codes)
  5. Bugz Bensce (97 codes)
  6. S P (73 codes)
  7. dany (71 codes)
  8. MikroBUS.NET Team (35 codes)
  9. NART SCHINACKOW (34 codes)
  10. Armstrong Subero (27 codes)

Most Downloaded

  1. Timer Calculator (140168 times)
  2. FAT32 Library (72622 times)
  3. Network Ethernet Library (57644 times)
  4. USB Device Library (47957 times)
  5. Network WiFi Library (43554 times)
  6. FT800 Library (42942 times)
  7. GSM click (30140 times)
  8. mikroSDK (28670 times)
  9. PID Library (27057 times)
  10. microSD click (26552 times)
Libstock prefers package manager

Package Manager

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]

< Back
mikroSDK Library

LED Blinking Demo

Rating:

0

Author: MIKROE

Last Updated: 2024-07-09

Package Version: 2.0.0.31

mikroSDK Library: 2.0.0.0

Category: Force

Downloaded: 374 times

Not followed.

License: MIT license  

The application demonstrates GPIO SDK functionality.

No Abuse Reported

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".

  • Information
  • Comments (0)

mikroSDK Library Blog

Led Blinking DEMO

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.


  • Author : MIKROE
  • Version : 2.0.0.31
  • Date : July 2024.

Hardware Support

  • Put PORT LED switches in ON position.
  • image

Software Support

We provide simple demo code for toggling one pin. To run this example, follow these steps:

  1. Install the package from Package manager.
  2. Open example.
  3. It will take you to setups, so make one for your hardware.
  4. Choose adequate setup and the project will open.
  5. Program it by clicking on Flash.
  6. Defined pin (LED) should start toggling every second.

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.

image

ALSO FROM THIS AUTHOR

Matrix RGB Click

0

Matrix RGB Click is a mikroBUS™ add-on board powered by a 32-bit FT900 MCU designed specifically for powering 16x32 RGB LED matrices.

[Learn More]

CXPI Click

0

CXPI Click is a compact add-on board that contains a transceiver that supports the next-generation automotive communication protocol. This board features the BD41000AFJ-C, a transceiver for the CXPI (Clock Extension Peripheral Interface) communication from Rohm Semiconductor.

[Learn More]

Led Flash 2 Click

0

LED Flash 2 Click is a powerful flash/torch Click, featuring the MIC2870 from Microchip, a high-efficiency flash LED driver, optimized for driving one or two high-brightness camera flash LEDs.

[Learn More]