small fixes added

readme edit and fixed one mistake in main.go file
This commit is contained in:
foglar 2024-01-29 13:05:22 +01:00
parent 868888ee11
commit 0e29f51537
2 changed files with 4 additions and 6 deletions

View File

@ -1,14 +1,12 @@
# CobraV2
## Installation
## Installation and compilation
```bash
git clone https://www.github.com/foglar/cobraV2.git
```
cd cobraV2/serial_read
```bash
# Building serial read code yourself
cd serial_read
go build main.go
```

View File

@ -103,8 +103,8 @@ func main() {
}
i++
}
if port == "" {
_, err := os.Stat(port)
if port == "" || os.IsNotExist(err) {
port = portInput()
}
if baudrate == 0 {