summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernhard Tittelbach <xro@realraum.at>2013-10-11 16:10:54 +0000
committerBernhard Tittelbach <xro@realraum.at>2013-10-11 16:10:54 +0000
commita380c3362c381ff279d620ab62aa89720311a372 (patch)
tree67802554e41926ca8ae32efe05138477aa401c40
parentbugfixes (diff)
doku
git-svn-id: https://svn.spreadspace.org/avr/trunk@242 aa12f405-d877-488e-9caf-2d797e2a1cc7
-rw-r--r--pcr-controller/protocol_uc.txt19
1 files changed, 19 insertions, 0 deletions
diff --git a/pcr-controller/protocol_uc.txt b/pcr-controller/protocol_uc.txt
new file mode 100644
index 0000000..c251da6
--- /dev/null
+++ b/pcr-controller/protocol_uc.txt
@@ -0,0 +1,19 @@
+Command bytes:
+'s' Temperatursensor lesen -> string (float3.2) + \r\n
+'T' Temperatursoll setzen <- string (int(float(x)*16))
+'t' Temperatursoll lesen -> string (float3.2) + \r\n
+'P' P-Wert setzen <- string (uint16_t x * 1024)
+'p' Alle PID Werte ausgeben -> string (uint16_t) + \r\n
+'I' I-Wert setzen <- string (uint16_t x * 1024)
+'i' Alle PID Werte ausgeben -> string (uint16_t) + \r\n
+'D' D-Wert setzen <- string (uint16_t x * 1024)
+'d' Alle PID Werte ausgeben -> string (uint16_t p / 1024, i / 1024, d / 1024) + \r\n
+'A' Pumpe on
+'a' Pumpe off
+'B' Deckelheizung on
+'b' Deckelheizung off
+'L' LED (Debug) -> byte (0-255)
+'R' Reset (Alle Register zurücksetzen und neu initialisieren)
+
+Nach jedem Setz-Command: Bestätigung mit "OK\r\n" (oder so)
+'