add some scripts

This commit is contained in:
2022-07-19 19:59:28 +03:00
parent 73bdcfb119
commit 3a649661b8
26 changed files with 482 additions and 43 deletions

9
Daemons/astrosib/GetCoords Executable file
View 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