TOP Contributors

  1. MIKROE (2656 codes)
  2. Alcides Ramos (353 codes)
  3. Shawon Shahryiar (307 codes)
  4. jm_palomino (112 codes)
  5. Chisanga Mumba (90 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 (136870 times)
  2. FAT32 Library (70000 times)
  3. Network Ethernet Library (55999 times)
  4. USB Device Library (46301 times)
  5. Network WiFi Library (41907 times)
  6. FT800 Library (41206 times)
  7. GSM click (29012 times)
  8. PID Library (26423 times)
  9. mikroSDK (26394 times)
  10. microSD click (25385 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-04-03

Package Version: 2.0.0.17

mikroSDK Library: 2.0.0.0

Category: Force

Downloaded: 70 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.17
  • Date : June 2023.

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

AlphaNum G click

5

AlphaNum G click is a simple solution for adding 14-segment alphanumeric displays to your device. The board carries two TLC5926 16-bit Constant-Current LED sink Drivers as well as a dual character LED 14-segment display. The board is designed to use either a 3.3V or 5V power supply.

[Learn More]

Thermo 21 click

0

Thermo 21 Click is a compact add-on board that provides an accurate temperature measurement. This board features the ADT7301, a high-precision digital temperature sensor from Analog Devices. The ADT7301 houses an on-chip temperature sensor, a 13-bit A/D converter, a reference circuit, and serial interface logic functions in one package. Characterized by its high accuracy (up to ±0.5°C typical) and high resolution of 0.03125°C, this temperature sensor provides temperature data to the host controller with a configurable SPI interface. This Click board™ is appropriate for process control, environmental monitoring, domestic appliances, electronic test equipment, or other temperature measurement applications.

[Learn More]

GSM/GNSS click

0

GSM/GNSS click combines GPS/GLONASS location tracking with GSM module capability for mobile communication. The click features Quectel’s MC60 quad-band module.

[Learn More]