The server to panel socket protocol

Sun, 08 Nov 2015 21:24:52 +0100

author
Michiel Broek <mbroek@mbse.eu>
date
Sun, 08 Nov 2015 21:24:52 +0100
changeset 417
9943f49fdb98
parent 416
7e6d682fc950
child 418
0bfe08c7ba6e

The server to panel socket protocol

brewpanel/README file | annotate | diff | comparison | revisions
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/brewpanel/README	Sun Nov 08 21:24:52 2015 +0100
@@ -0,0 +1,23 @@
+
+	Socket protocol.
+
+All commands are 16 bits unsigned integers.
+
+     D15 D14 D13 D12 D11 D10 RS  R/W DB7 DB6 DB5 DB4 DB3 DB2 DB1 DB0
+      0   0   0  LC2 LC1 LC0  0   0   0   0   0   0   0   0   0   1	Screen clear, home
+      0   0   0  LC2 LC1 LC0  0   0   0   0   0   0   0   0   1   .	DDRAM AD=0, return
+      0   0   0  LC2 LC1 LC0  0   0   0   0   0   0   0   1  I/D  S	Set moving direction of cursor
+      0   0   0  LC2 LC1 LC0  0   0   0   0   0   0   1   D   C   B	Display Cursor Blink on/off
+      0   0   0  LC2 LC1 LC0  0   0   0   0   0   1  S/C R/L  .   .	Remove cursor and display
+      0   0   0  LC2 LC1 LC0  0   0   0   0   1   DL  N   F   .   .	Set DL display line font
+      0   0   0  LC2 LC1 LC0  0   0   0   1				Set CGRAM send/receive data
+      0   0   0  LC2 LC1 LC0  0   0   1					Set DDRAM sebd/receive data
+      0   0   0  LC2 LC1 LC0  0   1   BF				Busy Flag
+      0   0   0  LC2 LC1 LC0  1   0					Write data to CGRAM or DDRAM
+      0   0   0  LC2 LC1 LC0  1   1					Read data from CGRAM or DDRAM
+      0   0   1  LC2 LC1 LC0  0   0   0   0   0   0   0   0   0   .	LED on/off
+      0   1   0  LC2 LC1 LC0  0   0   0   0   0   0   0   0   0   .	Buzzer on/off
+ 
+
+LC2 LC1 LC0 are the device index, 0..7
+

mercurial