io.github.animatedledstrip:animatedledstrip-parent-pom

Parent POM for all AnimatedLEDStrip libraries

Лицензия

Лицензия

Группа

Группа

io.github.animatedledstrip
Идентификатор

Идентификатор

animatedledstrip-parent-pom
Последняя версия

Последняя версия

1.0.0-pre2.1
Дата

Дата

Тип

Тип

pom
Описание

Описание

io.github.animatedledstrip:animatedledstrip-parent-pom
Parent POM for all AnimatedLEDStrip libraries
Ссылка на сайт

Ссылка на сайт

https://github.com/AnimatedLEDStrip/AnimatedLEDStrip
Система контроля версий

Система контроля версий

https://github.com/AnimatedLEDStrip/server-pi

Скачать animatedledstrip-parent-pom

Имя Файла Размер
animatedledstrip-parent-pom-1.0.0-pre2.1.pom 14 KB
Обзор

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/io.github.animatedledstrip/animatedledstrip-parent-pom/ -->
<dependency>
    <groupId>io.github.animatedledstrip</groupId>
    <artifactId>animatedledstrip-parent-pom</artifactId>
    <version>1.0.0-pre2.1</version>
    <type>pom</type>
</dependency>
// https://jarcasting.com/artifacts/io.github.animatedledstrip/animatedledstrip-parent-pom/
implementation 'io.github.animatedledstrip:animatedledstrip-parent-pom:1.0.0-pre2.1'
// https://jarcasting.com/artifacts/io.github.animatedledstrip/animatedledstrip-parent-pom/
implementation ("io.github.animatedledstrip:animatedledstrip-parent-pom:1.0.0-pre2.1")
'io.github.animatedledstrip:animatedledstrip-parent-pom:pom:1.0.0-pre2.1'
<dependency org="io.github.animatedledstrip" name="animatedledstrip-parent-pom" rev="1.0.0-pre2.1">
  <artifact name="animatedledstrip-parent-pom" type="pom" />
</dependency>
@Grapes(
@Grab(group='io.github.animatedledstrip', module='animatedledstrip-parent-pom', version='1.0.0-pre2.1')
)
libraryDependencies += "io.github.animatedledstrip" % "animatedledstrip-parent-pom" % "1.0.0-pre2.1"
[io.github.animatedledstrip/animatedledstrip-parent-pom "1.0.0-pre2.1"]

Зависимости

compile (1)

Идентификатор библиотеки Тип Версия
org.jetbrains.kotlin : kotlin-stdlib-jdk8 jar 1.4.21

test (4)

Идентификатор библиотеки Тип Версия
org.jetbrains.kotlin : kotlin-test-junit jar 1.4.21
org.junit.jupiter : junit-jupiter-api jar 5.7.0
io.mockk : mockk jar 1.10.4
io.kotest : kotest-assertions-core-jvm jar 4.2.5

Модули Проекта

Данный проект не имеет модулей.

AnimatedLEDStrip Server for Raspberry Pi

An example usage of the AnimatedLEDStrip server library with the AnimatedLEDStrip Raspberry Pi device library.

Install

To install this server on a Raspberry Pi, run

curl -s https://animatedledstrip.github.io/install/install-pi-server.sh | sudo bash

This will install the server on your Pi and add it as a systemd service that runs on startup.

Physical Setup

See the Adafruit NeoPixel Überguide for a good introduction to ws281x LEDs, specifically their NeoPixels.

Data

With the default configuration, the data should be connected to GPIO 12 (physical pin 32). If you set the pin to a different number, check a pin diagram for the Pi to check what physical pin to connect to. Check the rpi_ws281x library for which pins are supported, which protocols they correspond to, and other notes about the protocols.

Ground

The ground should be connected to one of the ground pins on the Pi (physical pins 6, 9, 14, 20, 25, 30, 34 and 39). The ground should also be connected to the ground of the power supply.

Power

The Adafruit NeoPixel Überguide has good tips for powering the LEDs. If your strip is short enough, may be able to connect the power to the 5V power on the Pi (physical pins 2 and 4).

Be careful doing this.

To borrow words from the rpi_ws281x library: Know what you're doing with the hardware and electricity. I take no reponsibility for damage, harm, or mistakes.

Configure

The config file is located at /etc/leds/led.config. See the AnimatedLEDStrip server wiki for instructions on configuring the server.

Update

If you need to update the server with a new version, i.e. a development version, you can use the ./deploy.bash script. The script packages the server on your computer, then copies it to any hosts you specify and restarts them.

To specify which hosts to update, add -H flags for each host's IP or user@IP, i.e.:

./deploy.bash -H 10.0.0.254 -H user2@10.0.0.253

If no user is specified, pi is assumed as default.

To specify a specific settings.xml file to use for mvn, use the -s flag:

./deploy.bash -H 10.0.0.254 -H user2@10.0.0.253 -s ./settings.xml
io.github.animatedledstrip

Версии библиотеки

Версия
1.0.0-pre2.1
1.0.0-pre2
1.0.0-pre1.1
1.0.0-pre1