Update Readme file
move java file
This commit is contained in:
parent
0ab01b19e6
commit
b7fb7de498
57
README.md
57
README.md
@ -1,27 +1,54 @@
|
||||
# Overview
|
||||
|
||||
# Deployment
|
||||
|
||||
use the following command to transfer project to raspberry pi:
|
||||
|
||||
scp -r gpio pi@192.168.1.77:~
|
||||
|
||||
# usage
|
||||
## switch relais on
|
||||
```
|
||||
javadoc todo
|
||||
```
|
||||
## switch relais off
|
||||
```
|
||||
javadoc todo
|
||||
```
|
||||
## read status of relais
|
||||
```
|
||||
javadoc todo
|
||||
```
|
||||
|
||||
# Regler
|
||||
|
||||
Pin GPIO Regler
|
||||
2 5v VCC
|
||||
6 GND GND
|
||||
8 GPIO 14 In1
|
||||
10 GPIO 15 In2
|
||||
12 GPIO 18 In3
|
||||
16 GPIO 23 In4
|
||||
18 GPIO 24 In5
|
||||
22 GPIO 25 In6
|
||||
24 GPIO 8 In7
|
||||
26 GPIO 7 In8
|
||||
## Create Dokumentation
|
||||
```
|
||||
javadoc todo
|
||||
```
|
||||
|
||||
|
||||
# Requirements
|
||||
## HW
|
||||
* Raspberry PI
|
||||
|
||||
## Software
|
||||
* raspberian url:
|
||||
|
||||
# Verbindung zwischen Raspberry Pi und Relais Box
|
||||
Pin GPIO Relais/Box
|
||||
* 2 5v VCC
|
||||
* 6 GND GND
|
||||
* 8 GPIO 14 In1
|
||||
* 10 GPIO 15 In2
|
||||
* 12 GPIO 18 In3
|
||||
* 16 GPIO 23 In4
|
||||
* 18 GPIO 24 In5
|
||||
* 22 GPIO 25 In6
|
||||
* 24 GPIO 8 In7
|
||||
* 26 GPIO 7 In8
|
||||
|
||||
# ToDo
|
||||
* Status Abfrage implementieren
|
||||
* Javadok Kommentare hinzufügen, Dokumentation generieren und anschauen
|
||||
* Test Durchführen und logfile erzeugen
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -1,9 +1,9 @@
|
||||
//package pdu_jctrl;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.util.Arrays;
|
||||
import java.util.concurrent.TimeUnit;
|
||||
|
||||
|
||||
// todo: add Dokumentation
|
||||
public class gpio_java
|
||||
{
|
||||
public static String rel_map [][] = {
|
||||
@ -32,6 +32,7 @@ public class gpio_java
|
||||
|
||||
gpio_cmdhandler(args[0], args[1]);
|
||||
|
||||
// todo: remove following not used code
|
||||
/*
|
||||
setgpio(true);
|
||||
|
Loading…
x
Reference in New Issue
Block a user