Commit 12da76b5 authored by Achim Morschhauser's avatar Achim Morschhauser
Browse files

Only serial port

parent 59a99fdb
...@@ -15,7 +15,7 @@ USR_TARGET = $(patsubst $(USR_DIR)%.cpp,%,$(USR_FILES)) ...@@ -15,7 +15,7 @@ USR_TARGET = $(patsubst $(USR_DIR)%.cpp,%,$(USR_FILES))
#-------------------------------------- #--------------------------------------
CC=g++ CC=g++
CCFLAGS=-g -lrt -std=c++11 -O1 CCFLAGS=-g -lrt -std=c++11 -lpthread
EXCL=driver_serial_emulate.o EXCL=driver_serial_emulate.o
# Uncomment to use virtual serial port. Run 'make clean all' afterwards # Uncomment to use virtual serial port. Run 'make clean all' afterwards
......
...@@ -21,7 +21,7 @@ int main(){ ...@@ -21,7 +21,7 @@ int main(){
std::cout << "BAUD: "; std::cout << "BAUD: ";
std::cin >> baud; std::cin >> baud;
driver_serial serial = driver_serial("/dev/ttyUSB0",term,1,baud); driver_serial serial = driver_serial("/dev/ttyUSB1",term,1,baud);
while (1){ while (1){
......
# Baudrate for ObsDAQ # Baudrate for ObsDAQ
BAUD=38400 #19200 (Default) BAUD=38400 #19200 (Default)
# PORT for ObsDAQ # PORT for ObsDAQ
PORT=/dev/ttyUSB0 PORT=/dev/ttyUSB1
# Resistance of variometer # Resistance of variometer
R=1.0 R=1.0
# Scale values of variometer # Scale values of variometer
X_s=1.0 X_s=1.0
Y_s=1.0 Y_s=1.0
Z_s=1.0 Z_s=1.0
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment