Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Achim Morschhauser
GeomagLogger
Commits
12da76b5
Commit
12da76b5
authored
Nov 05, 2018
by
Achim Morschhauser
Browse files
Only serial port
parent
59a99fdb
Changes
3
Hide whitespace changes
Inline
Side-by-side
Makefile
View file @
12da76b5
...
...
@@ -15,7 +15,7 @@ USR_TARGET = $(patsubst $(USR_DIR)%.cpp,%,$(USR_FILES))
#--------------------------------------
CC
=
g++
CCFLAGS
=
-g
-lrt
-std
=
c++11
-
O1
CCFLAGS
=
-g
-lrt
-std
=
c++11
-
lpthread
EXCL
=
driver_serial_emulate.o
# Uncomment to use virtual serial port. Run 'make clean all' afterwards
...
...
usr/Serial_Talk.cpp
View file @
12da76b5
...
...
@@ -21,7 +21,7 @@ int main(){
std
::
cout
<<
"BAUD: "
;
std
::
cin
>>
baud
;
driver_serial
serial
=
driver_serial
(
"/dev/ttyUSB
0
"
,
term
,
1
,
baud
);
driver_serial
serial
=
driver_serial
(
"/dev/ttyUSB
1
"
,
term
,
1
,
baud
);
while
(
1
){
...
...
usr/parameters.par
View file @
12da76b5
# Baudrate for ObsDAQ
BAUD=38400 #19200 (Default)
# PORT for ObsDAQ
PORT=/dev/ttyUSB
0
PORT=/dev/ttyUSB
1
# Resistance of variometer
R=1.0
# Scale values of variometer
X_s=1.0
Y_s=1.0
Z_s=1.0
\ No newline at end of file
Z_s=1.0
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment