hiteshsn35

πŸŽ›οΈ mini7seg - Create Colorful 7-Segment Displays

πŸš€ Getting Started

Welcome to mini7seg! This Arduino library helps you build custom 7-segment displays using WS2812/NeoPixel addressable RGB LEDs. With mini7seg, you can easily create vibrant displays for your projects. Let’s get started.

πŸ“₯ Download Mini7seg

Download mini7seg

To download mini7seg, visit this page: Download Mini7seg Releases

πŸ“‹ Features

πŸ–₯️ System Requirements

To effectively use mini7seg, make sure your system has the following:

πŸ“€ How to Install

  1. Download the Library: Visit this page to download the latest release: Download Mini7seg Releases.

  2. Extract Files: After downloading, extract the files from the ZIP archive.

  3. Add to Arduino Libraries:
    • Open the Arduino IDE.
    • Click on Sketch in the top menu.
    • Hover over Include Library, then select Add .ZIP Library.
    • Choose the extracted mini7seg folder and click Open.
  4. Check Installation: To verify installation, go to Sketch > Include Library. You should see mini7seg in the list.

πŸ”§ Using Mini7seg

Once installed, you can start using mini7seg for your displays. Here’s how to make your first LED display:

  1. Initial Setup: Start by including the library at the top of your code:
    #include <mini7seg.h>
    
  2. Initialize Display: Create an instance of mini7seg and specify the number of segments:
    mini7seg display(6); // Using pin 6 for data
    
  3. Display Numbers: Use the following function to display numbers:
    display.showNumber(3); // Displays the number 3
    
  4. Change Colors: Adjust the color settings to suit your project needs:
    display.setColor(255, 0, 0); // Set color to red
    
  5. Run Your Project: Upload your code to the Arduino and watch your 7-segment display light up!

πŸ‘¨β€πŸ’» Example Sketch

Here’s a simple example sketch that shows how to use mini7seg with an Arduino board:

#include <mini7seg.h>

mini7seg display(6); // Pin for data

void setup() {
   display.begin();
   display.setColor(0, 255, 0); // Set color to green
}

void loop() {
   for (int i = 0; i <= 9; i++) {
      display.showNumber(i);
      delay(1000); // Wait 1 second between numbers
   }
}

πŸ› οΈ Troubleshooting

If you run into issues:

πŸ“ FAQs

Q: Do I need special tools to compile the code?
A: No, just the Arduino IDE is enough.

Q: Can I use other types of LEDs?
A: This library specifically supports WS2812/NeoPixel addressable RGB LEDs.

Q: How do I change LED brightness?
A: Adjust the brightness using the setBrightness() function in the library.

πŸ’¬ Support

If you have any questions, feel free to open an issue in the repository. We welcome feedback and suggestions!

For further assistance, visit: Download Mini7seg Releases where you can find additional resources. Enjoy building your custom LED displays!