mirror of
https://github.com/eddyem/small_tel.git
synced 2026-03-20 08:41:03 +03:00
add some scripts
This commit is contained in:
9
Daemons/astrosib/GetCoords
Executable file
9
Daemons/astrosib/GetCoords
Executable file
@@ -0,0 +1,9 @@
|
||||
#!/bin/bash
|
||||
|
||||
TTY=/dev/ttyS1
|
||||
stty -F $TTY -hupcl -opost -onlcr -isig -iexten -echo -echoe -echok -echoctl -echoke -icanon min 0 time 5
|
||||
|
||||
echo -n "RA: "
|
||||
echo ":GR#" > /dev/ttyS1 && cat /dev/ttyS1
|
||||
echo -n "Dec: "
|
||||
echo ":GD#" > /dev/ttyS1 && cat /dev/ttyS1
|
||||
Reference in New Issue
Block a user