Changes for page LSS-PRO Communication Protocol
Last modified by Eric Nantel on 2024/09/06 14:52
Change comment: There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -1,6 +1,8 @@ 1 1 {{warningBox warningText="More information coming soon"/}} 2 2 3 3 4 + 5 + 4 4 (% class="wikigeneratedid" id="HTableofContents" %) 5 5 **Page Contents** 6 6 ... ... @@ -28,3 +28,23 @@ 28 28 29 29 This sends a serial command to all servo's RX pins which are connected to the bus and only servo(s) with ID #5 will move to a position (1800 in tenths of degrees) of 180.0 degrees. Any servo on the bus which does not have ID 5 will take no action when receiving this command. 30 30 <div class="wikimodel-emptyline"></div></div></div> 33 + 34 +== Modifiers == 35 + 36 +{{html clean="false" wiki="true"}} 37 +<div class="cmdcnt"><div class="cmdpad"></div><div class="cmdtxt"> 38 +Modifiers can only be used with certain **action commands**. The format to include a modifier is:<div class="wikimodel-emptyline"></div> 39 + 40 +1. Start with a number sign **#** (Unicode Character: U+0023) 41 +1. Servo ID number as an integer 42 +1. Action command (one to three letters, no spaces, capital or lowercase from a subset of action commands below) 43 +1. Action value in the correct units with no decimal 44 +1. Modifier command (one or two letters from the list of modifiers below) 45 +1. Modifier value in the correct units with no decimal 46 +1. End with a carriage return **\r** or **<cr>** Unicode Character (U+000D) 47 + 48 +Ex: #5D1800T1500<cr><div class="wikimodel-emptyline"></div> 49 + 50 +This results in the servo with ID #5 rotating to a position (1800 in tenths of degrees) of 180.0 degrees in a time ("T") of 1500 milliseconds (1.5 seconds).<div class="wikimodel-emptyline"></div> 51 +<div class="wikimodel-emptyline"></div></div></div> 52 +{{/html}}