TOP Contributors

  1. MIKROE (2784 codes)
  2. Alcides Ramos (404 codes)
  3. Shawon Shahryiar (307 codes)
  4. jm_palomino (133 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 (141112 times)
  2. FAT32 Library (73905 times)
  3. Network Ethernet Library (58554 times)
  4. USB Device Library (48725 times)
  5. Network WiFi Library (44376 times)
  6. FT800 Library (43977 times)
  7. GSM click (30721 times)
  8. mikroSDK (29478 times)
  9. PID Library (27304 times)
  10. microSD click (27130 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 Curtain Demo

Rating:

0

Author: MIKROE

Last Updated: 2024-07-09

Package Version: 2.0.0.19

mikroSDK Library: 2.0.0.0

Category: Force

Downloaded: 284 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 Curtain Demo" changes.

Do you want to unsubscribe in order to stop receiving notifications regarding "LED Curtain Demo" changes.

Do you want to report abuse regarding "LED Curtain Demo".

  • Information
  • Comments (0)

mikroSDK Library Blog

Led Curtain DEMO

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.


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

Hardware Support

  • Put PORT LED switches in ON position.
  • image

Software Support

We provide simple demo code for toggling LEDs. 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. 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.

ALSO FROM THIS AUTHOR

Buzzer Click

0

Buzzer Click is a compact add-on board for generating sound signals in various electronic applications. This board features the CPT-7502-65-SMT-TR, a piezoelectric buzzer transducer from CUI Devices, known for its efficient sound output and compact surface-mount design. The buzzer offers a sound pressure level of 65dB and consumes only 1mA of current, making it ideal for battery-powered devices. The board also features the MIKROE 'Click Snap' function, allowing for flexible installation and autonomous operation.

[Learn More]

Moisture click

5

Moisture click is a Click board that can be used to easily detect a moisture level of the skin, by simply touching the sensitive surface of the PCB.

[Learn More]

Button R Click

0

Button R Click is the simplest solution for adding a single pushbutton to your design. The button itself is transparent, 6.8mm in diameter and has a red LED backlight. When pressed, it sends an interrupt signal to the target board microcontroller. The backlight LED is controlled separately through the mikroBUS PWM pin, so you can program all kinds of patterns (varying level of light intensity or rate of blinking on subsequent button presses). The board can use either a 3.3V or a 5V power supply.

[Learn More]