tm3d
/
owTools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
df91f0a
)
spelling correction
author
Tobias
<tm@tm3d.de>
Wed, 24 May 2017 07:23:53 +0000
(09:23 +0200)
committer
Tobias
<tm@tm3d.de>
Wed, 24 May 2017 07:23:53 +0000
(09:23 +0200)
src/main.cpp
patch
|
blob
|
history
diff --git
a/src/main.cpp
b/src/main.cpp
index
5595980
..
9a998e2
100755
(executable)
--- a/
src/main.cpp
+++ b/
src/main.cpp
@@
-102,19
+102,19
@@
#endif
void printhelp() {
#endif
void printhelp() {
-printf("owTools - Program
m for reading und
controlling 1-Wire Devices from www.tm3d.de\n\n");
+printf("owTools - Program
for reading and
controlling 1-Wire Devices from www.tm3d.de\n\n");
printf("run: owTools -a [COMn|USBn|GPIOn] [options]\n\n");
printf(" COMn -> Adapter DS9097 and compatible (e.g. LinkUSB)\n");
printf(" n=1 -> Windows COM1 -> Linux /dev/ttyS1\n");
printf(" USBn -> Adapter DS2490/DS9490 \n");
printf(" n=1 -> first USB-Adapter \n");
printf("run: owTools -a [COMn|USBn|GPIOn] [options]\n\n");
printf(" COMn -> Adapter DS9097 and compatible (e.g. LinkUSB)\n");
printf(" n=1 -> Windows COM1 -> Linux /dev/ttyS1\n");
printf(" USBn -> Adapter DS2490/DS9490 \n");
printf(" n=1 -> first USB-Adapter \n");
-printf(" GPIOn -> port of Raspberr
y
PI (port Name not Pin number)\n\n");
-printf("
o
ptions:\n");
+printf(" GPIOn -> port of RaspberrPI (port Name not Pin number)\n\n");
+printf("
O
ptions:\n");
printf(" -i interactive mode\n");
printf(" select a device and get information about it\n");
printf(" -c read and print all continuous\n");
printf(" -p time in sec between readings\n");
printf(" -i interactive mode\n");
printf(" select a device and get information about it\n");
printf(" -c read and print all continuous\n");
printf(" -p time in sec between readings\n");
-printf(" -d [config file] put all Data in mysql Database descripted in
C
onfig file\n");
+printf(" -d [config file] put all Data in mysql Database descripted in
c
onfig file\n");
printf(" Config file: \n");
printf(" [server]\n");
printf(" [port] -> 3306\n");
printf(" Config file: \n");
printf(" [server]\n");
printf(" [port] -> 3306\n");
@@
-122,15
+122,16
@@
printf(" [user] \n");
printf(" [password]\n");
printf(" [database]\n");
printf(" [prefix] -> a prefix of all tables \n\n");
printf(" [password]\n");
printf(" [database]\n");
printf(" [prefix] -> a prefix of all tables \n\n");
-printf(" -r Search everytime for new Devices\n");
-printf(" -f
hexfile F
lash new\n");
+printf(" -r Search every
time for new Devices\n");
+printf(" -f
[hexfile] f
lash new\n");
printf(" -n change id \n");
printf(" -g get from server\n");
printf(" -n change id \n");
printf(" -g get from server\n");
-printf(" -w [1|2] show Warnings (1) or all
Infos
(2)\n");
+printf(" -w [1|2] show Warnings (1) or all
information
(2)\n");
printf(" -m memory functions\n");
printf(" -m memory functions\n");
+
}
}