Update readme.md

This commit is contained in:
Chris Boudacoff 2018-03-14 14:17:30 +02:00 committed by GitHub
parent 8e96f3f837
commit b25626a010
Signed by: GitHub
GPG Key ID: 4AEE18F83AFDEB23

@ -1 +1,50 @@
# teres1-debug
teres1-debug and debug_switch.sh are DIY-TERES1 utilities for turning debug on or off
Usage: All commands must be executed as superuser
- switch on/off debug for current session only until reboot
```bash
sudo teres1-debug on
```
or
```bash
sudo teres1-debug off
```
- switch on/off debug permanently
```bash
sudo debug_switch.sh on
```
or
```bash
sudo debug_switch.sh off
```
This file ("teres1-debug") is a part of the TERESI official image. However if you want to download just this file do following:
```bash
git clone https://github.com/d3v1c3nv11/teres1-debug.git
cd teres1-debug
make
sudo make install
```
destination path for installing is /usr/local/sbin, to change - edit Makefile
Jack connection:
```bash
TX RX
| |
=== == ====|||||||||----------------------------
|
GND
```
# VERY IMPORTANT!!!
# Use 3.3V levels serial adaptor!
# DO NOT USE RS232 LEVEL ADAPTORS!