add README
This commit is contained in:
parent
9bb1bcc70f
commit
10595417f5
1 changed files with 24 additions and 0 deletions
24
README.md
Normal file
24
README.md
Normal file
|
@ -0,0 +1,24 @@
|
||||||
|
Building
|
||||||
|
========
|
||||||
|
|
||||||
|
```
|
||||||
|
mkdir -p ~/go/src/mcs
|
||||||
|
ln -s ~/Projects/tbm-go-rots ~/go/src/mcs
|
||||||
|
go install mcs/tbm-go-rots/admin
|
||||||
|
go install mcs/tbm-go-rots/protocol
|
||||||
|
```
|
||||||
|
|
||||||
|
Usage
|
||||||
|
=====
|
||||||
|
|
||||||
|
To get the date from the admin serial interface:
|
||||||
|
|
||||||
|
```
|
||||||
|
~/go/bin/admin -serial-baud 115200 date
|
||||||
|
```
|
||||||
|
|
||||||
|
To get the date from the user serial interface:
|
||||||
|
|
||||||
|
```
|
||||||
|
~/go/bin/protocol -serial-baud 115200 date
|
||||||
|
```
|
Loading…
Add table
Add a link
Reference in a new issue