Skip to content

Commit 40c9a77

Browse files
added startup information to the readme
1 parent 71e64ce commit 40c9a77

File tree

1 file changed

+23
-2
lines changed

1 file changed

+23
-2
lines changed

README.md

+23-2
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ The strip can be controlled either via hardware or software spi. The preferred m
66
## Wiring ##
77
The strip uses 5V spi lanes but the Raspberry uses 3.3V. We need to use an level converter to get rid of this problem. Connecting the strip directly to the Pi may cause harm to it.
88

9-
The buttons will be connected with a 2kOhm pull down resistors each. The resistors will pull down the gpio to 0V if the buttons are not pressed. When the buttons are pressed gpio pins will be connected to the 3.3V lane which results in an high flag.
9+
The buttons will be connected with a 2kOhm pull down resistor each. The resistors will pull down the gpio to 0V if the buttons are not pressed. When the buttons are pressed the gpio pins will be connected to the 3.3V lane which results in an high flag.
1010

1111
This example uses the hardware spi pins to connect the led strip.
1212

@@ -198,4 +198,25 @@ Send a integer value between 0 and 255 to this topic to change the blue part of
198198
Configures how many seconds the result should be displayed during the games.
199199

200200
#### /raspled/pong/result/delay/after ####
201-
Configures how many seconds the final result should be displayed after the games.
201+
Configures how many seconds the final result should be displayed after the games.
202+
203+
## Startup ##
204+
Because of the service file the script will be started automatically during system boot.
205+
206+
### Manuel stop ###
207+
sudo systemctl stop ledcontrol
208+
209+
### Manuel restart ###
210+
sudo systemctl restart ledcontrol
211+
212+
### Manuel start ###
213+
sudo systemctl start ledcontrol
214+
215+
### Check the status ###
216+
sudo systemctl status ledcontrol
217+
218+
### View the log messages ###
219+
journalctl -u ledcontrol
220+
221+
### View the log messages in continous mode ###
222+
journalctl -f -u ledcontrol

0 commit comments

Comments
 (0)