TOP Contributors

  1. MIKROE (2784 codes)
  2. Alcides Ramos (392 codes)
  3. Shawon Shahryiar (307 codes)
  4. jm_palomino (123 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 (140532 times)
  2. FAT32 Library (73022 times)
  3. Network Ethernet Library (58019 times)
  4. USB Device Library (48211 times)
  5. Network WiFi Library (43821 times)
  6. FT800 Library (43292 times)
  7. GSM click (30348 times)
  8. mikroSDK (28983 times)
  9. PID Library (27107 times)
  10. microSD click (26708 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: 212 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

IR reflect Click

0

IR reflect Click carries a GP2S700HCP reflective photointerrupter and an onboard potentiometer. On this type of photointerrupter the infrared emitter and receiver are facing the same direction.

[Learn More]

RS485 5V click

0

RS485 click 5V is an RS422/485 transceiver Click board, which can be used as an interface between the TTL level UART and the RS422/485 communication bus.

[Learn More]

Flash 8 Click

0

Flash 8 Click is a compact add-on board representing a highly reliable memory solution. This board features the GD5F2GQ5UEYIGR, a 2Gb high-density non-volatile memory storage solution for embedded systems from GigaDevice Semiconductor. It is based on an industry-standard NAND Flash memory core, representing an attractive alternative to SPI-NOR and standard parallel NAND Flash with advanced features. The GD5F2GQ5UEYIGR also has advanced security features (8K-Byte OTP region), software/hardware write protection, can withstand many write cycles (minimum 100k), and has a data retention period greater than ten years.

[Learn More]