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.
To download mini7seg, visit this page: Download Mini7seg Releases
To effectively use mini7seg, make sure your system has the following:
Download the Library: Visit this page to download the latest release: Download Mini7seg Releases.
Extract Files: After downloading, extract the files from the ZIP archive.
Sketch in the top menu.Include Library, then select Add .ZIP Library.Open.Sketch > Include Library. You should see mini7seg in the list.Once installed, you can start using mini7seg for your displays. Hereβs how to make your first LED display:
#include <mini7seg.h>
mini7seg display(6); // Using pin 6 for data
display.showNumber(3); // Displays the number 3
display.setColor(255, 0, 0); // Set color to red
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
}
}
If you run into issues:
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.
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!