Subversion Repositories shark

Rev

Rev 844 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
844 mauro 1
Function	Description			Serial Output String		Serial Input String
2
_____________________________________________________________________________________________________________________
3
 
4
SetPort		Set port p to value v		0000.Pppp:0000.vvvv:vvvv.vvvv
5
 
6
GetPort		Get port p value 		0001.Pppp			Ret: 0000.vvvv:vvvv.vvvv
7
 
8
StorePort	Store port p value		0010.Pppp
9
 
10
 
11
GetAnalog	Get analog port a value		0100:naaa			Ret: [0000.00vv:]vvvv.vvvv
12
 
13
 
14
 
15
SetServo	Turn Off servo m		1000:0000:0000:Mmmm
16
 
17
SetServo	Turn On servo m			1000:0000:0001:Mmmm
18
 
19
SetServos	Turn Off servos			1000:0000:0010:0000
20
 
21
SetServos	Turn On servos			1000:0000:0010:0001
22
 
23
GetServoMask	Get servo levels		1000:0000:0100:000M		Ret: ssss.ssss
24
 
25
SetServoMask	Set servo levels		1000:0000:0101:000M:ssss:ssss
26
 
27
StoreServos	Store servo levels		1000:0000:1000:0000
28
 
29
 
30
 
31
StoreRS232	Store RS232 BaudRate		1000:0100
32
 
33
GetRS232	Get RS232 BaudRate		1000:0101			Ret: 0000.000w:bbbb.bbbb
34
 
35
SetRS232	Set RS232 BaudRate		1000:011w:bbbb.bbbb
36
 
37
 
38
 
39
StorePeriod	Store Period/8 value		1000:1000
40
 
41
GetPeriod	Get Period/8 value		1000:1001			Ret: llll.llll
42
 
43
SetPeriod	Set Period/8 value		1000:1010:llll.llll
44
 
45
 
46
 
47
GetSwitch	Get Switch values		1000:1100			Ret: 0000:000s
48
 
49
SetSwitch	Set Switch RC5 to status s	1000:111s