> ## Documentation Index
> Fetch the complete documentation index at: https://docs.deneyapkart.org/llms.txt
> Use this file to discover all available pages before exploring further.

# Using with Arduino

## Library Installation

Search for the **Deneyap 5x7 LED Matris** library in the Library Manager and install version **1.1.0 or later**. The **Adafruit NeoPixel** library it needs is installed automatically. For the installation steps, see the [Library Installation](https://docs.deneyapkart.org/en/Moduls/Library-Installation.md) page.

## First Application

The code below lights the LED in row 1, column 1 in blue:

```cpp theme={null}
#include <Deneyap_5x7LedEkran.h>

RGB5x7LedMatris LEDMatris;                                  // New generation RGB module
// DotMatrix LEDMatris;                                     // First version (single color) module

void setup() {
    LEDMatris.begin(0x0A);                                  // Default I2C address
    LEDMatris.setPixelXY(1, 1, LEDMatris.Color(0, 0, 150)); // row 1, column 1, blue
    LEDMatris.show();                                       // Send the changes to the module
}

void loop() {
}
```

> [!NOTE]
>
> Pixels are sent to the module only when `show()` is called. Remember to call `show()` after setting the colors.

## Basic Functions

| Function | Description |
| - | - |
| `begin(address)` | Starts communication with the module. |
| `setPixelXY(row, column, color)` | Sets the color of one LED (row: 1-7, column: 1-5). |
| `drawBitmap(bitmap, color)` | Draws a 35 value (0/1, row by row) pattern in the given color. |
| `Color(r, g, b)` | Creates a color from red, green and blue values (0-255). |
| `setBrightness(value)` | Sets the brightness of all LEDs. |
| `fill(color)` / `clear()` | Fills all LEDs with a color / turns them off. |
| `show()` | Sends the colors to the module. |

## Examples

The `YeniModul` folder of the library contains ready examples for the RGB module: **Gokkusagi**, **RenkliSatirlar**, **RGBGulenYuz**, **RGBKayanOkIsareti**, **RGBRandomLedYakma** and **RGBT3VAKFIyazdirma**. Examples for the first version module are in the `EskiModul` folder.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.