<commit_before># E1.31 (sACN) to AdaLight Bridge Server

## Compiling

To compile the bridging server, simply use the ```make``` utility:

```shell
$ make

# clean
$ make clean
```

## Running

To run the program, you must supply three options:

```
Usage: e131-adalight-bridge [-d device] [-n num_leds] [-u universe]

Options:
  -d device      serial device to use to communicate with AdaLight
  -d num_leds    number of RGB LEDs connected to AdaLight
  -u universe    DMX universe number to respond to

All options are mandatory.
```

Example invocation for 100 LEDs AdaLight attached to /dev/ttyACM0:

```shell
$ ./e131-adalight-bridge -d /dev/ttyACM0 -u 1 -n 100
```<commit_msg>clarified maximum number of LEDs<commit_after># E1.31 (sACN) to AdaLight Bridge Server

## Compiling

To compile the bridging server, simply use the ```make``` utility:

```shell
$ make

# clean
$ make clean
```

## Running

To run the program, you must supply three options:

```
Usage: e131-adalight-bridge [-d device] [-n num_leds] [-u universe]

Options:
  -d device      serial device to use to communicate with AdaLight
  -d num_leds    number of RGB LEDs connected to AdaLight
  -u universe    DMX universe number to respond to

All options are mandatory.
```

**Note:** because each DMX universe has a maximum of 512 channels and each RGB LEDs takes 3 channels, the maximum number of controllable AdaLight LEDs is **170**.

Example invocation for 100 LEDs AdaLight attached to /dev/ttyACM0:

```shell
$ ./e131-adalight-bridge -d /dev/ttyACM0 -u 1 -n 100
```
{'fraction_non_alphanumeric': 0.10019392372333549, 'fraction_numerical': 0.027795733678086618, 'mean_word_length': 3.690909090909091, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3240625', 'n_tokens_mistral': 546, 'n_tokens_neox': 473, 'n_words': 211}