From a380c3362c381ff279d620ab62aa89720311a372 Mon Sep 17 00:00:00 2001 From: Bernhard Tittelbach Date: Fri, 11 Oct 2013 16:10:54 +0000 Subject: doku git-svn-id: https://svn.spreadspace.org/avr/trunk@242 aa12f405-d877-488e-9caf-2d797e2a1cc7 --- pcr-controller/protocol_uc.txt | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 pcr-controller/protocol_uc.txt 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) +' -- cgit v1.2.3