2023-05-03 21:07:19 +02:00
|
|
|
# LED-Board
|
|
|
|
## Project Page
|
|
|
|
[C3MA](https://www.ccc-mannheim.de/wiki/LED-Board)
|
2023-05-03 21:24:12 +02:00
|
|
|
|
|
|
|
## Controller
|
|
|
|
* PlatformIO
|
|
|
|
|
|
|
|
### Hardware
|
|
|
|
* Arduino MEGA2560
|
|
|
|
* Ethernet shield
|
|
|
|
|
|
|
|
### Firmware
|
|
|
|
* PlatformIO based
|
|
|
|
|
|
|
|
see **platformio.ini**
|
|
|
|
|
|
|
|
## Client Software
|
|
|
|
stored in folder **/client**
|
|
|
|
|
|
|
|
### Dependency
|
|
|
|
* rust
|
|
|
|
* cargo
|
|
|
|
|
|
|
|
### Build
|
|
|
|
go to **/client**
|
|
|
|
* cargo build
|
|
|
|
* cargo run
|
2023-09-22 22:11:46 +02:00
|
|
|
|
|
|
|
### Deamon
|
|
|
|
Requires ''systemd''
|
|
|
|
|
|
|
|
Install by creating a link to this project
|
|
|
|
```
|
|
|
|
/etc/systemd/system# ln -s /home/c3ma/led-board/client/ledBoard.service ledBoard.service
|
|
|
|
systemctl daemon-reload
|
|
|
|
systemctl enable ledBoard.service
|
|
|
|
```
|
|
|
|
Start deamon with
|
|
|
|
```
|
|
|
|
systemctl start ledBoard.service
|
|
|
|
```
|