-//TODO: improve this, make it work for multiple open serial devices
-func GetLastSerialLine() [][]byte {
- var last_line_pointer [][]byte
- last_read_mutex.Lock()
- last_line_pointer = last_read_serial_input
- last_read_mutex.Unlock()
- fmt.Println("Retrieve Text", last_line_pointer)
- return last_line_pointer
-}
-
-func OpenAndHandleSerial(filename string, topub chan <- [][]byte) (chan string, error) {