Update Readme file

move java file
This commit is contained in:
Alex Volkmann 2019-02-22 16:19:04 +01:00
parent 0ab01b19e6
commit b7fb7de498
2 changed files with 259 additions and 231 deletions

View File

@ -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

View File

@ -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);