TOP Contributors

  1. MIKROE (2784 codes)
  2. Alcides Ramos (405 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 (141514 times)
  2. FAT32 Library (74401 times)
  3. Network Ethernet Library (58914 times)
  4. USB Device Library (48963 times)
  5. Network WiFi Library (44727 times)
  6. FT800 Library (44292 times)
  7. GSM click (31003 times)
  8. mikroSDK (29859 times)
  9. PID Library (27432 times)
  10. microSD click (27410 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: 320 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

ADAC Click

0

The Click is designed to run on either 3.3V or 5V power supply. ADAC Click communicates with the target microcontroller over I2C interface, with additional functionality provided by the RST pin on the mikroBUS™ line.

[Learn More]

Hall Current 7 Click

0

Hall Current 7 Click is a compact add-on board that provides economical and precise solutions for AC or DC current sensing. This board features the ACS770, a thermally enhanced, fully integrated, Hall effect-based high precision linear current sensor with 100µΩ current conductor from Allegro MicroSystems. Applied current flows directly into the integrated conductor generating a magnetic field, and an integrated low-hysteresis core concentrates the magnetic field sensed by the Hall element with a typical accuracy of ±1% and 120 kHz bandwidth.

[Learn More]

Accel 2 click

5

Accel 2 click carries ST’s LIS3DSH IC, a low-power factory-calibrated three-axis accelerometer which embeds a FIFO buffer and two programmable state machines. The board communicates with the target board MCU through either SPI (CS#, SCK, SDO, SDI) or I2C (SCL, SDA) interfaces.

[Learn More]