TOP Contributors

  1. MIKROE (2784 codes)
  2. Alcides Ramos (385 codes)
  3. Shawon Shahryiar (307 codes)
  4. jm_palomino (118 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 (139843 times)
  2. FAT32 Library (72209 times)
  3. Network Ethernet Library (57392 times)
  4. USB Device Library (47740 times)
  5. Network WiFi Library (43364 times)
  6. FT800 Library (42700 times)
  7. GSM click (29980 times)
  8. mikroSDK (28440 times)
  9. PID Library (26989 times)
  10. microSD click (26398 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: 372 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

Accel 13 click

5

Accel 13 Click features an ultra-low power triaxial accelerometer sensor with embedded intelligence, labeled as the IIS2DLPC.

[Learn More]

Slider Click

0

Slider Click features a mechanical slide action potentiometer - a slider, which gives a nice feeling when actuating, along with 16 SMD LEDs, that can be used for any kind of visual feedback. The onboard high-resolution 22-bit ADC can detect even the smallest move, faithfully capturing the smoothness of the slider movement, while digitizing its position. The 16 onboard SMD LEDs can give a nice visual feedback of the slider position, but those LEDs can also be used for other purposes since they are not hardwired to the slider.

[Learn More]

Force click

15

Force click is a mikroBUS add-on board with circuitry for implementing Interlink Electronics’ Force Sensing Resistors into your projects (with the sensor included with the click).

[Learn More]