node-poweredup 8.0.4 → 9.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (300) hide show
  1. package/.drone.yml +2 -2
  2. package/.gitmodules +0 -3
  3. package/.jsdoc.json +1 -2
  4. package/dist/browser/poweredup.js +1 -1
  5. package/dist/browser/poweredup.js.map +1 -1
  6. package/dist/node/color.js +5 -1
  7. package/dist/node/color.js.map +1 -1
  8. package/dist/node/consts.d.ts +21 -21
  9. package/dist/node/consts.js +27 -27
  10. package/dist/node/consts.js.map +1 -1
  11. package/dist/node/devices/absolutemotor.js +6 -2
  12. package/dist/node/devices/absolutemotor.js.map +1 -1
  13. package/dist/node/devices/basicmotor.js +5 -1
  14. package/dist/node/devices/basicmotor.js.map +1 -1
  15. package/dist/node/devices/colordistancesensor.js +7 -3
  16. package/dist/node/devices/colordistancesensor.js.map +1 -1
  17. package/dist/node/devices/currentsensor.js +6 -2
  18. package/dist/node/devices/currentsensor.js.map +1 -1
  19. package/dist/node/devices/device.d.ts +3 -1
  20. package/dist/node/devices/device.js +5 -1
  21. package/dist/node/devices/device.js.map +1 -1
  22. package/dist/node/devices/duplotrainbasecolorsensor.js +6 -2
  23. package/dist/node/devices/duplotrainbasecolorsensor.js.map +1 -1
  24. package/dist/node/devices/duplotrainbasemotor.js +5 -1
  25. package/dist/node/devices/duplotrainbasemotor.js.map +1 -1
  26. package/dist/node/devices/duplotrainbasespeaker.js +6 -2
  27. package/dist/node/devices/duplotrainbasespeaker.js.map +1 -1
  28. package/dist/node/devices/duplotrainbasespeedometer.js +6 -2
  29. package/dist/node/devices/duplotrainbasespeedometer.js.map +1 -1
  30. package/dist/node/devices/hubled.js +6 -2
  31. package/dist/node/devices/hubled.js.map +1 -1
  32. package/dist/node/devices/light.js +5 -1
  33. package/dist/node/devices/light.js.map +1 -1
  34. package/dist/node/devices/marioaccelerometer.js +6 -2
  35. package/dist/node/devices/marioaccelerometer.js.map +1 -1
  36. package/dist/node/devices/mariobarcodesensor.js +6 -2
  37. package/dist/node/devices/mariobarcodesensor.js.map +1 -1
  38. package/dist/node/devices/mariopantssensor.js +6 -2
  39. package/dist/node/devices/mariopantssensor.js.map +1 -1
  40. package/dist/node/devices/mediumlinearmotor.js +5 -1
  41. package/dist/node/devices/mediumlinearmotor.js.map +1 -1
  42. package/dist/node/devices/motionsensor.js +6 -2
  43. package/dist/node/devices/motionsensor.js.map +1 -1
  44. package/dist/node/devices/movehubmediumlinearmotor.js +5 -1
  45. package/dist/node/devices/movehubmediumlinearmotor.js.map +1 -1
  46. package/dist/node/devices/movehubtiltsensor.js +6 -2
  47. package/dist/node/devices/movehubtiltsensor.js.map +1 -1
  48. package/dist/node/devices/piezobuzzer.js +5 -1
  49. package/dist/node/devices/piezobuzzer.js.map +1 -1
  50. package/dist/node/devices/remotecontrolbutton.js +7 -3
  51. package/dist/node/devices/remotecontrolbutton.js.map +1 -1
  52. package/dist/node/devices/simplemediumlinearmotor.js +5 -1
  53. package/dist/node/devices/simplemediumlinearmotor.js.map +1 -1
  54. package/dist/node/devices/tachomotor.js +6 -2
  55. package/dist/node/devices/tachomotor.js.map +1 -1
  56. package/dist/node/devices/technic3x3colorlightmatrix.js +6 -2
  57. package/dist/node/devices/technic3x3colorlightmatrix.js.map +1 -1
  58. package/dist/node/devices/techniccolorsensor.js +6 -2
  59. package/dist/node/devices/techniccolorsensor.js.map +1 -1
  60. package/dist/node/devices/technicdistancesensor.js +6 -2
  61. package/dist/node/devices/technicdistancesensor.js.map +1 -1
  62. package/dist/node/devices/technicforcesensor.js +6 -2
  63. package/dist/node/devices/technicforcesensor.js.map +1 -1
  64. package/dist/node/devices/techniclargeangularmotor.js +5 -1
  65. package/dist/node/devices/techniclargeangularmotor.js.map +1 -1
  66. package/dist/node/devices/techniclargelinearmotor.js +5 -1
  67. package/dist/node/devices/techniclargelinearmotor.js.map +1 -1
  68. package/dist/node/devices/technicmediumangularmotor.js +5 -1
  69. package/dist/node/devices/technicmediumangularmotor.js.map +1 -1
  70. package/dist/node/devices/technicmediumhubaccelerometersensor.js +6 -2
  71. package/dist/node/devices/technicmediumhubaccelerometersensor.js.map +1 -1
  72. package/dist/node/devices/technicmediumhubgyrosensor.js +6 -2
  73. package/dist/node/devices/technicmediumhubgyrosensor.js.map +1 -1
  74. package/dist/node/devices/technicmediumhubtiltsensor.js +7 -3
  75. package/dist/node/devices/technicmediumhubtiltsensor.js.map +1 -1
  76. package/dist/node/devices/technicsmallangularmotor.js +5 -1
  77. package/dist/node/devices/technicsmallangularmotor.js.map +1 -1
  78. package/dist/node/devices/technicxlargelinearmotor.js +5 -1
  79. package/dist/node/devices/technicxlargelinearmotor.js.map +1 -1
  80. package/dist/node/devices/tiltsensor.js +6 -2
  81. package/dist/node/devices/tiltsensor.js.map +1 -1
  82. package/dist/node/devices/trainmotor.js +5 -1
  83. package/dist/node/devices/trainmotor.js.map +1 -1
  84. package/dist/node/devices/voltagesensor.js +6 -2
  85. package/dist/node/devices/voltagesensor.js.map +1 -1
  86. package/dist/node/hubs/basehub.d.ts +1 -0
  87. package/dist/node/hubs/basehub.js +5 -1
  88. package/dist/node/hubs/basehub.js.map +1 -1
  89. package/dist/node/hubs/duplotrainbase.d.ts +1 -0
  90. package/dist/node/hubs/duplotrainbase.js +5 -1
  91. package/dist/node/hubs/duplotrainbase.js.map +1 -1
  92. package/dist/node/hubs/hub.d.ts +1 -0
  93. package/dist/node/hubs/hub.js +12 -11
  94. package/dist/node/hubs/hub.js.map +1 -1
  95. package/dist/node/hubs/lpf2hub.js +5 -1
  96. package/dist/node/hubs/lpf2hub.js.map +1 -1
  97. package/dist/node/hubs/mario.d.ts +1 -0
  98. package/dist/node/hubs/mario.js +5 -1
  99. package/dist/node/hubs/mario.js.map +1 -1
  100. package/dist/node/hubs/movehub.d.ts +1 -0
  101. package/dist/node/hubs/movehub.js +7 -6
  102. package/dist/node/hubs/movehub.js.map +1 -1
  103. package/dist/node/hubs/remotecontrol.d.ts +1 -0
  104. package/dist/node/hubs/remotecontrol.js +5 -1
  105. package/dist/node/hubs/remotecontrol.js.map +1 -1
  106. package/dist/node/hubs/technicmediumhub.d.ts +1 -0
  107. package/dist/node/hubs/technicmediumhub.js +5 -1
  108. package/dist/node/hubs/technicmediumhub.js.map +1 -1
  109. package/dist/node/hubs/technicsmallhub.d.ts +1 -0
  110. package/dist/node/hubs/technicsmallhub.js +10 -6
  111. package/dist/node/hubs/technicsmallhub.js.map +1 -1
  112. package/dist/node/hubs/wedo2smarthub.d.ts +1 -0
  113. package/dist/node/hubs/wedo2smarthub.js +10 -6
  114. package/dist/node/hubs/wedo2smarthub.js.map +1 -1
  115. package/dist/node/index-browser.js +5 -1
  116. package/dist/node/index-browser.js.map +1 -1
  117. package/dist/node/index-node.js +5 -1
  118. package/dist/node/index-node.js.map +1 -1
  119. package/dist/node/interfaces.d.ts +1 -0
  120. package/dist/node/nobleabstraction.d.ts +1 -0
  121. package/dist/node/nobleabstraction.js.map +1 -1
  122. package/dist/node/poweredup-browser.js +10 -3
  123. package/dist/node/poweredup-browser.js.map +1 -1
  124. package/dist/node/poweredup-node.js +5 -3
  125. package/dist/node/poweredup-node.js.map +1 -1
  126. package/dist/node/utils.d.ts +2 -1
  127. package/dist/node/utils.js.map +1 -1
  128. package/dist/node/webbleabstraction.d.ts +2 -1
  129. package/dist/node/webbleabstraction.js +1 -1
  130. package/dist/node/webbleabstraction.js.map +1 -1
  131. package/docs/AbsoluteMotor.html +1037 -1066
  132. package/docs/BaseHub.html +622 -807
  133. package/docs/BasicMotor.html +707 -809
  134. package/docs/ColorDistanceSensor.html +1500 -1611
  135. package/docs/CurrentSensor.html +470 -623
  136. package/docs/Device.html +372 -502
  137. package/docs/DuploTrainBase.html +1004 -1225
  138. package/docs/DuploTrainBaseColorSensor.html +712 -874
  139. package/docs/DuploTrainBaseMotor.html +723 -841
  140. package/docs/DuploTrainBaseSpeaker.html +565 -693
  141. package/docs/DuploTraniBaseSpeedometer.html +396 -550
  142. package/docs/Hub.html +3842 -3987
  143. package/docs/HubLED.html +591 -731
  144. package/docs/LPF2Hub.html +983 -1188
  145. package/docs/Light.html +591 -731
  146. package/docs/Mario.html +1004 -1225
  147. package/docs/MarioAccelerometer.html +568 -732
  148. package/docs/MarioBarcodeSensor.html +568 -732
  149. package/docs/MarioPantsSensor.html +470 -623
  150. package/docs/MediumLinearMotor.html +679 -748
  151. package/docs/MotionSensor.html +470 -623
  152. package/docs/MoveHub.html +1004 -1225
  153. package/docs/MoveHubMediumLinearMotor.html +679 -748
  154. package/docs/MoveHubTiltSensor.html +483 -642
  155. package/docs/PiezoBuzzer.html +495 -642
  156. package/docs/PoweredUP.html +2223 -2174
  157. package/docs/RemoteControl.html +1004 -1225
  158. package/docs/RemoteControlButton.html +470 -623
  159. package/docs/SimpleMediumLinearMotor.html +396 -550
  160. package/docs/TachoMotor.html +1298 -1393
  161. package/docs/Technic3x3ColorLightMatrix.html +484 -628
  162. package/docs/TechnicColorSensor.html +726 -876
  163. package/docs/TechnicDistanceSensor.html +667 -824
  164. package/docs/TechnicForceSensor.html +614 -765
  165. package/docs/TechnicLargeAngularMotor.html +1046 -1091
  166. package/docs/TechnicLargeLinearMotor.html +1046 -1091
  167. package/docs/TechnicMediumAngularMotor.html +1046 -1091
  168. package/docs/TechnicMediumHub.html +1004 -1225
  169. package/docs/TechnicMediumHubAccelerometerSensor.html +496 -661
  170. package/docs/TechnicMediumHubGyroSensor.html +496 -661
  171. package/docs/TechnicMediumHubTiltSensor.html +820 -945
  172. package/docs/TechnicSmallAngularMotor.html +1046 -1091
  173. package/docs/TechnicXLargeLinearMotor.html +1046 -1091
  174. package/docs/TiltSensor.html +483 -642
  175. package/docs/TrainMotor.html +723 -841
  176. package/docs/VoltageSensor.html +470 -623
  177. package/docs/WeDo2SmartHub.html +890 -1102
  178. package/docs/consts.js.html +53 -116
  179. package/docs/devices_absolutemotor.js.html +35 -94
  180. package/docs/devices_basicmotor.js.html +34 -93
  181. package/docs/devices_colordistancesensor.js.html +33 -92
  182. package/docs/devices_currentsensor.js.html +35 -94
  183. package/docs/devices_device.js.html +32 -91
  184. package/docs/devices_duplotrainbasecolorsensor.js.html +35 -94
  185. package/docs/devices_duplotrainbasemotor.js.html +34 -93
  186. package/docs/devices_duplotrainbasespeaker.js.html +35 -94
  187. package/docs/devices_duplotrainbasespeedometer.js.html +35 -94
  188. package/docs/devices_hubled.js.html +35 -94
  189. package/docs/devices_light.js.html +34 -93
  190. package/docs/devices_marioaccelerometer.js.html +35 -94
  191. package/docs/devices_mariobarcodesensor.js.html +35 -94
  192. package/docs/devices_mariopantssensor.js.html +35 -94
  193. package/docs/devices_mediumlinearmotor.js.html +34 -93
  194. package/docs/devices_motionsensor.js.html +35 -94
  195. package/docs/devices_movehubmediumlinearmotor.js.html +34 -93
  196. package/docs/devices_movehubtiltsensor.js.html +35 -94
  197. package/docs/devices_piezobuzzer.js.html +34 -93
  198. package/docs/devices_remotecontrolbutton.js.html +36 -95
  199. package/docs/devices_simplemediumlinearmotor.js.html +34 -93
  200. package/docs/devices_tachomotor.js.html +33 -92
  201. package/docs/devices_technic3x3colorlightmatrix.js.html +35 -94
  202. package/docs/devices_techniccolorsensor.js.html +35 -94
  203. package/docs/devices_technicdistancesensor.js.html +35 -94
  204. package/docs/devices_technicforcesensor.js.html +35 -94
  205. package/docs/devices_techniclargeangularmotor.js.html +34 -93
  206. package/docs/devices_techniclargelinearmotor.js.html +34 -93
  207. package/docs/devices_technicmediumangularmotor.js.html +34 -93
  208. package/docs/devices_technicmediumhubaccelerometersensor.js.html +35 -94
  209. package/docs/devices_technicmediumhubgyrosensor.js.html +35 -94
  210. package/docs/devices_technicmediumhubtiltsensor.js.html +36 -95
  211. package/docs/devices_technicsmallangularmotor.js.html +34 -93
  212. package/docs/devices_technicxlargelinearmotor.js.html +34 -93
  213. package/docs/devices_tiltsensor.js.html +35 -94
  214. package/docs/devices_trainmotor.js.html +34 -93
  215. package/docs/devices_voltagesensor.js.html +35 -94
  216. package/docs/global.html +2094 -7927
  217. package/docs/hubs_basehub.js.html +31 -90
  218. package/docs/hubs_duplotrainbase.js.html +34 -93
  219. package/docs/hubs_hub.js.html +41 -103
  220. package/docs/hubs_lpf2hub.js.html +31 -90
  221. package/docs/hubs_mario.js.html +34 -93
  222. package/docs/hubs_movehub.js.html +36 -98
  223. package/docs/hubs_remotecontrol.js.html +34 -93
  224. package/docs/hubs_technicmediumhub.js.html +34 -93
  225. package/docs/hubs_technicsmallhub.js.html +39 -98
  226. package/docs/hubs_wedo2smarthub.js.html +36 -95
  227. package/docs/index.html +36 -83
  228. package/docs/poweredup-browser.js.html +36 -92
  229. package/docs/poweredup-node.js.html +32 -93
  230. package/docs/scripts/linenumber.js +21 -19
  231. package/docs/scripts/prettify/Apache-License-2.0.txt +202 -0
  232. package/docs/scripts/prettify/lang-css.js +2 -0
  233. package/docs/scripts/prettify/prettify.js +28 -0
  234. package/docs/styles/jsdoc-default.css +192 -787
  235. package/docs/styles/prettify-jsdoc.css +1 -1
  236. package/docs/styles/prettify-tomorrow.css +8 -14
  237. package/package.json +13 -13
  238. package/src/devices/device.ts +2 -2
  239. package/src/devices/remotecontrolbutton.ts +1 -1
  240. package/src/devices/technicmediumhubtiltsensor.ts +1 -1
  241. package/src/hubs/hub.ts +2 -2
  242. package/src/hubs/movehub.ts +2 -2
  243. package/src/poweredup-browser.ts +5 -2
  244. package/src/poweredup-node.ts +0 -2
  245. package/src/webbleabstraction.ts +2 -2
  246. package/jsdoc-template/braintree/CHANGELOG.md +0 -31
  247. package/jsdoc-template/braintree/LICENSE +0 -27
  248. package/jsdoc-template/braintree/README.md +0 -90
  249. package/jsdoc-template/braintree/package.json +0 -39
  250. package/jsdoc-template/braintree/publish.js +0 -675
  251. package/jsdoc-template/braintree/static/fonts/OpenSans-Bold-webfont.eot +0 -0
  252. package/jsdoc-template/braintree/static/fonts/OpenSans-Bold-webfont.svg +0 -1830
  253. package/jsdoc-template/braintree/static/fonts/OpenSans-Bold-webfont.woff +0 -0
  254. package/jsdoc-template/braintree/static/fonts/OpenSans-BoldItalic-webfont.eot +0 -0
  255. package/jsdoc-template/braintree/static/fonts/OpenSans-BoldItalic-webfont.svg +0 -1830
  256. package/jsdoc-template/braintree/static/fonts/OpenSans-BoldItalic-webfont.woff +0 -0
  257. package/jsdoc-template/braintree/static/fonts/OpenSans-Italic-webfont.eot +0 -0
  258. package/jsdoc-template/braintree/static/fonts/OpenSans-Italic-webfont.svg +0 -1830
  259. package/jsdoc-template/braintree/static/fonts/OpenSans-Italic-webfont.woff +0 -0
  260. package/jsdoc-template/braintree/static/fonts/OpenSans-Light-webfont.eot +0 -0
  261. package/jsdoc-template/braintree/static/fonts/OpenSans-Light-webfont.svg +0 -1831
  262. package/jsdoc-template/braintree/static/fonts/OpenSans-Light-webfont.woff +0 -0
  263. package/jsdoc-template/braintree/static/fonts/OpenSans-LightItalic-webfont.eot +0 -0
  264. package/jsdoc-template/braintree/static/fonts/OpenSans-LightItalic-webfont.svg +0 -1835
  265. package/jsdoc-template/braintree/static/fonts/OpenSans-LightItalic-webfont.woff +0 -0
  266. package/jsdoc-template/braintree/static/fonts/OpenSans-Regular-webfont.eot +0 -0
  267. package/jsdoc-template/braintree/static/fonts/OpenSans-Regular-webfont.svg +0 -1831
  268. package/jsdoc-template/braintree/static/fonts/OpenSans-Regular-webfont.woff +0 -0
  269. package/jsdoc-template/braintree/static/fonts/OpenSans-Semibold-webfont.eot +0 -0
  270. package/jsdoc-template/braintree/static/fonts/OpenSans-Semibold-webfont.svg +0 -1830
  271. package/jsdoc-template/braintree/static/fonts/OpenSans-Semibold-webfont.ttf +0 -0
  272. package/jsdoc-template/braintree/static/fonts/OpenSans-Semibold-webfont.woff +0 -0
  273. package/jsdoc-template/braintree/static/fonts/OpenSans-SemiboldItalic-webfont.eot +0 -0
  274. package/jsdoc-template/braintree/static/fonts/OpenSans-SemiboldItalic-webfont.svg +0 -1830
  275. package/jsdoc-template/braintree/static/fonts/OpenSans-SemiboldItalic-webfont.ttf +0 -0
  276. package/jsdoc-template/braintree/static/fonts/OpenSans-SemiboldItalic-webfont.woff +0 -0
  277. package/jsdoc-template/braintree/static/icons/home.svg +0 -4
  278. package/jsdoc-template/braintree/static/icons/search.svg +0 -4
  279. package/jsdoc-template/braintree/static/scripts/linenumber.js +0 -23
  280. package/jsdoc-template/braintree/static/scripts/pagelocation.js +0 -89
  281. package/jsdoc-template/braintree/static/styles/collapse.css +0 -27
  282. package/jsdoc-template/braintree/static/styles/jsdoc-default.css +0 -953
  283. package/jsdoc-template/braintree/static/styles/prettify-jsdoc.css +0 -111
  284. package/jsdoc-template/braintree/static/styles/prettify-tomorrow.css +0 -138
  285. package/jsdoc-template/braintree/tmpl/augments.tmpl +0 -10
  286. package/jsdoc-template/braintree/tmpl/container.tmpl +0 -213
  287. package/jsdoc-template/braintree/tmpl/details.tmpl +0 -223
  288. package/jsdoc-template/braintree/tmpl/example.tmpl +0 -2
  289. package/jsdoc-template/braintree/tmpl/examples.tmpl +0 -14
  290. package/jsdoc-template/braintree/tmpl/exceptions.tmpl +0 -28
  291. package/jsdoc-template/braintree/tmpl/layout.tmpl +0 -150
  292. package/jsdoc-template/braintree/tmpl/mainpage.tmpl +0 -9
  293. package/jsdoc-template/braintree/tmpl/members.tmpl +0 -38
  294. package/jsdoc-template/braintree/tmpl/method.tmpl +0 -128
  295. package/jsdoc-template/braintree/tmpl/params.tmpl +0 -125
  296. package/jsdoc-template/braintree/tmpl/properties.tmpl +0 -111
  297. package/jsdoc-template/braintree/tmpl/returns.tmpl +0 -17
  298. package/jsdoc-template/braintree/tmpl/source.tmpl +0 -9
  299. package/jsdoc-template/braintree/tmpl/tutorial.tmpl +0 -23
  300. package/jsdoc-template/braintree/tmpl/type.tmpl +0 -11
@@ -1,123 +1,53 @@
1
1
  <!DOCTYPE html>
2
2
  <html lang="en">
3
3
  <head>
4
-
5
- <meta charset="utf-8">
6
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
7
-
8
- <title>
9
- TechnicSmallAngularMotor - Documentation
10
- </title>
11
-
12
- <link href="https://www.braintreepayments.com/images/favicon-ccda0b14.png" rel="icon" type="image/png">
13
-
14
- <script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.7.0/highlight.min.js"></script>
15
- <script>hljs.initHighlightingOnLoad();</script>
16
-
17
- <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.0/jquery.min.js"></script>
18
-
19
- <link type="text/css" rel="stylesheet" href="styles/prettify-tomorrow.css">
20
- <link type="text/css" rel="stylesheet" href="styles/jsdoc-default.css">
21
-
22
-
23
-
24
-
25
- <!-- start Mixpanel -->
26
- <script type="text/javascript">(function(e,a){if(!a.__SV){var b=window;try{var c,l,i,j=b.location,g=j.hash;c=function(a,b){return(l=a.match(RegExp(b+"=([^&]*)")))?l[1]:null};g&&c(g,"state")&&(i=JSON.parse(decodeURIComponent(c(g,"state"))),"mpeditor"===i.action&&(b.sessionStorage.setItem("_mpcehash",g),history.replaceState(i.desiredHash||"",e.title,j.pathname+j.search)))}catch(m){}var k,h;window.mixpanel=a;a._i=[];a.init=function(b,c,f){function e(b,a){var c=a.split(".");2==c.length&&(b=b[c[0]],a=c[1]);b[a]=function(){b.push([a].concat(Array.prototype.slice.call(arguments,
27
- 0)))}}var d=a;"undefined"!==typeof f?d=a[f]=[]:f="mixpanel";d.people=d.people||[];d.toString=function(b){var a="mixpanel";"mixpanel"!==f&&(a+="."+f);b||(a+=" (stub)");return a};d.people.toString=function(){return d.toString(1)+".people (stub)"};k="disable time_event track track_pageview track_links track_forms register register_once alias unregister identify name_tag set_config reset people.set people.set_once people.increment people.append people.union people.track_charge people.clear_charges people.delete_user".split(" ");
28
- for(h=0;h<k.length;h++)e(d,k[h]);a._i.push([b,c,f])};a.__SV=1.2;b=e.createElement("script");b.type="text/javascript";b.async=!0;b.src="undefined"!==typeof MIXPANEL_CUSTOM_LIB_URL?MIXPANEL_CUSTOM_LIB_URL:"file:"===e.location.protocol&&"//cdn.mxpnl.com/libs/mixpanel-2-latest.min.js".match(/^\/\//)?"https://cdn.mxpnl.com/libs/mixpanel-2-latest.min.js":"//cdn.mxpnl.com/libs/mixpanel-2-latest.min.js";c=e.getElementsByTagName("script")[0];c.parentNode.insertBefore(b,c)}})(document,window.mixpanel||[]);
29
- mixpanel.init("1919205b2da72e4da3b9b6639b444d59");</script>
30
- <!-- end Mixpanel -->
4
+ <meta charset="utf-8">
5
+ <title>JSDoc: Class: TechnicSmallAngularMotor</title>
6
+
7
+ <script src="scripts/prettify/prettify.js"> </script>
8
+ <script src="scripts/prettify/lang-css.js"> </script>
9
+ <!--[if lt IE 9]>
10
+ <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
11
+ <![endif]-->
12
+ <link type="text/css" rel="stylesheet" href="styles/prettify-tomorrow.css">
13
+ <link type="text/css" rel="stylesheet" href="styles/jsdoc-default.css">
31
14
  </head>
32
15
 
33
16
  <body>
34
- <svg style="display: none;">
35
- <defs>
36
- <symbol id="linkIcon" fill="#706d77" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg">
37
- <path d="M0 0h24v24H0z" fill="none"/>
38
- <path d="M3.9 12c0-1.71 1.39-3.1 3.1-3.1h4V7H7c-2.76 0-5 2.24-5 5s2.24 5 5 5h4v-1.9H7c-1.71 0-3.1-1.39-3.1-3.1zM8 13h8v-2H8v2zm9-6h-4v1.9h4c1.71 0 3.1 1.39 3.1 3.1s-1.39 3.1-3.1 3.1h-4V17h4c2.76 0 5-2.24 5-5s-2.24-5-5-5z"/>
39
- </symbol>
40
- </defs>
41
- </svg>
42
-
43
- <input type="checkbox" id="nav-trigger" class="nav-trigger" />
44
- <label for="nav-trigger" class="navicon-button x">
45
- <div class="navicon"></div>
46
- </label>
47
-
48
- <label for="nav-trigger" class="overlay"></label>
49
-
50
- <div class="top-nav-wrapper">
51
- <ul>
52
- <li >
53
- <a href="index.html">
54
-
55
- <svg fill="#6D6D6D" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg">
56
- <path d="M10 20v-6h4v6h5v-8h3L12 3 2 12h3v8z"/>
57
- <path d="M0 0h24v24H0z" fill="none"/>
58
- </svg>
59
-
60
-
61
- </a>
62
- </li>
63
-
64
-
65
17
 
66
- </ul>
67
- </div>
18
+ <div id="main">
68
19
 
69
- <nav>
70
- <h3 class="reference-title">
71
- node-poweredup Reference
72
- </h3>
20
+ <h1 class="page-title">Class: TechnicSmallAngularMotor</h1>
73
21
 
74
22
 
75
23
 
76
- <h3>Classes</h3><ul><li id="AbsoluteMotor-nav"><a href="AbsoluteMotor.html">AbsoluteMotor</a><ul class='methods'><li data-type="method" id="AbsoluteMotor-gotoAngle-nav"><a href="AbsoluteMotor.html#gotoAngle">gotoAngle</a></li><li data-type="method" id="AbsoluteMotor-gotoRealZero-nav"><a href="AbsoluteMotor.html#gotoRealZero">gotoRealZero</a></li><li data-type="method" id="AbsoluteMotor-resetZero-nav"><a href="AbsoluteMotor.html#resetZero">resetZero</a></li><li data-type="method" id="AbsoluteMotor-rotateByDegrees-nav"><a href="AbsoluteMotor.html#rotateByDegrees">rotateByDegrees</a></li><li data-type="method" id="AbsoluteMotor-setAccelerationTime-nav"><a href="AbsoluteMotor.html#setAccelerationTime">setAccelerationTime</a></li><li data-type="method" id="AbsoluteMotor-setBrakingStyle-nav"><a href="AbsoluteMotor.html#setBrakingStyle">setBrakingStyle</a></li><li data-type="method" id="AbsoluteMotor-setDecelerationTime-nav"><a href="AbsoluteMotor.html#setDecelerationTime">setDecelerationTime</a></li><li data-type="method" id="AbsoluteMotor-setMaxPower-nav"><a href="AbsoluteMotor.html#setMaxPower">setMaxPower</a></li><li data-type="method" id="AbsoluteMotor-setSpeed-nav"><a href="AbsoluteMotor.html#setSpeed">setSpeed</a></li></ul></li><li id="BaseHub-nav"><a href="BaseHub.html">BaseHub</a></li><li id="BasicMotor-nav"><a href="BasicMotor.html">BasicMotor</a><ul class='methods'><li data-type="method" id="BasicMotor-brake-nav"><a href="BasicMotor.html#brake">brake</a></li><li data-type="method" id="BasicMotor-rampPower-nav"><a href="BasicMotor.html#rampPower">rampPower</a></li><li data-type="method" id="BasicMotor-setPower-nav"><a href="BasicMotor.html#setPower">setPower</a></li><li data-type="method" id="BasicMotor-stop-nav"><a href="BasicMotor.html#stop">stop</a></li></ul></li><li id="ColorDistanceSensor-nav"><a href="ColorDistanceSensor.html">ColorDistanceSensor</a><ul class='methods'><li data-type="method" id="ColorDistanceSensor-sendPFIRMessage-nav"><a href="ColorDistanceSensor.html#sendPFIRMessage">sendPFIRMessage</a></li><li data-type="method" id="ColorDistanceSensor-setColor-nav"><a href="ColorDistanceSensor.html#setColor">setColor</a></li><li data-type="method" id="ColorDistanceSensor-setDistanceCount-nav"><a href="ColorDistanceSensor.html#setDistanceCount">setDistanceCount</a></li><li data-type="method" id="ColorDistanceSensor-setPFExtendedChannel-nav"><a href="ColorDistanceSensor.html#setPFExtendedChannel">setPFExtendedChannel</a></li><li data-type="method" id="ColorDistanceSensor-setPFPower-nav"><a href="ColorDistanceSensor.html#setPFPower">setPFPower</a></li><li data-type="method" id="ColorDistanceSensor-startPFMotors-nav"><a href="ColorDistanceSensor.html#startPFMotors">startPFMotors</a></li></ul></li><li id="CurrentSensor-nav"><a href="CurrentSensor.html">CurrentSensor</a></li><li id="Device-nav"><a href="Device.html">Device</a></li><li id="DuploTrainBase-nav"><a href="DuploTrainBase.html">DuploTrainBase</a><ul class='methods'><li data-type="method" id="DuploTrainBase-createVirtualPort-nav"><a href="DuploTrainBase.html#createVirtualPort">createVirtualPort</a></li><li data-type="method" id="DuploTrainBase-setName-nav"><a href="DuploTrainBase.html#setName">setName</a></li><li data-type="method" id="DuploTrainBase-shutdown-nav"><a href="DuploTrainBase.html#shutdown">shutdown</a></li></ul></li><li id="DuploTrainBaseColorSensor-nav"><a href="DuploTrainBaseColorSensor.html">DuploTrainBaseColorSensor</a></li><li id="DuploTrainBaseMotor-nav"><a href="DuploTrainBaseMotor.html">DuploTrainBaseMotor</a><ul class='methods'><li data-type="method" id="DuploTrainBaseMotor-brake-nav"><a href="DuploTrainBaseMotor.html#brake">brake</a></li><li data-type="method" id="DuploTrainBaseMotor-rampPower-nav"><a href="DuploTrainBaseMotor.html#rampPower">rampPower</a></li><li data-type="method" id="DuploTrainBaseMotor-setPower-nav"><a href="DuploTrainBaseMotor.html#setPower">setPower</a></li><li data-type="method" id="DuploTrainBaseMotor-stop-nav"><a href="DuploTrainBaseMotor.html#stop">stop</a></li></ul></li><li id="DuploTrainBaseSpeaker-nav"><a href="DuploTrainBaseSpeaker.html">DuploTrainBaseSpeaker</a><ul class='methods'><li data-type="method" id="DuploTrainBaseSpeaker-playSound-nav"><a href="DuploTrainBaseSpeaker.html#playSound">playSound</a></li><li data-type="method" id="DuploTrainBaseSpeaker-playTone-nav"><a href="DuploTrainBaseSpeaker.html#playTone">playTone</a></li></ul></li><li id="DuploTraniBaseSpeedometer-nav"><a href="DuploTraniBaseSpeedometer.html">DuploTraniBaseSpeedometer</a></li><li id="Hub-nav"><a href="Hub.html">Hub</a><ul class='methods'><li data-type="method" id="Hub-connect-nav"><a href="Hub.html#connect">connect</a></li><li data-type="method" id="Hub-createVirtualPort-nav"><a href="Hub.html#createVirtualPort">createVirtualPort</a></li><li data-type="method" id="Hub-disconnect-nav"><a href="Hub.html#disconnect">disconnect</a></li><li data-type="method" id="Hub-getDeviceAtPort-nav"><a href="Hub.html#getDeviceAtPort">getDeviceAtPort</a></li><li data-type="method" id="Hub-getDevices-nav"><a href="Hub.html#getDevices">getDevices</a></li><li data-type="method" id="Hub-getDevicesByType-nav"><a href="Hub.html#getDevicesByType">getDevicesByType</a></li><li data-type="method" id="Hub-setName-nav"><a href="Hub.html#setName">setName</a></li><li data-type="method" id="Hub-shutdown-nav"><a href="Hub.html#shutdown">shutdown</a></li><li data-type="method" id="Hub-sleep-nav"><a href="Hub.html#sleep">sleep</a></li><li data-type="method" id="Hub-wait-nav"><a href="Hub.html#wait">wait</a></li><li data-type="method" id="Hub-waitForDeviceAtPort-nav"><a href="Hub.html#waitForDeviceAtPort">waitForDeviceAtPort</a></li><li data-type="method" id="Hub-waitForDeviceByType-nav"><a href="Hub.html#waitForDeviceByType">waitForDeviceByType</a></li></ul></li><li id="HubLED-nav"><a href="HubLED.html">HubLED</a><ul class='methods'><li data-type="method" id="HubLED-setColor-nav"><a href="HubLED.html#setColor">setColor</a></li><li data-type="method" id="HubLED-setRGB-nav"><a href="HubLED.html#setRGB">setRGB</a></li></ul></li><li id="Light-nav"><a href="Light.html">Light</a><ul class='methods'><li data-type="method" id="Light-rampBrightness-nav"><a href="Light.html#rampBrightness">rampBrightness</a></li><li data-type="method" id="Light-setBrightness-nav"><a href="Light.html#setBrightness">setBrightness</a></li></ul></li><li id="LPF2Hub-nav"><a href="LPF2Hub.html">LPF2Hub</a><ul class='methods'><li data-type="method" id="LPF2Hub-createVirtualPort-nav"><a href="LPF2Hub.html#createVirtualPort">createVirtualPort</a></li><li data-type="method" id="LPF2Hub-setName-nav"><a href="LPF2Hub.html#setName">setName</a></li><li data-type="method" id="LPF2Hub-shutdown-nav"><a href="LPF2Hub.html#shutdown">shutdown</a></li></ul></li><li id="Mario-nav"><a href="Mario.html">Mario</a><ul class='methods'><li data-type="method" id="Mario-createVirtualPort-nav"><a href="Mario.html#createVirtualPort">createVirtualPort</a></li><li data-type="method" id="Mario-setName-nav"><a href="Mario.html#setName">setName</a></li><li data-type="method" id="Mario-shutdown-nav"><a href="Mario.html#shutdown">shutdown</a></li></ul></li><li id="MarioAccelerometer-nav"><a href="MarioAccelerometer.html">MarioAccelerometer</a></li><li id="MarioBarcodeSensor-nav"><a href="MarioBarcodeSensor.html">MarioBarcodeSensor</a></li><li id="MarioPantsSensor-nav"><a href="MarioPantsSensor.html">MarioPantsSensor</a></li><li id="MediumLinearMotor-nav"><a href="MediumLinearMotor.html">MediumLinearMotor</a><ul class='methods'><li data-type="method" id="MediumLinearMotor-rotateByDegrees-nav"><a href="MediumLinearMotor.html#rotateByDegrees">rotateByDegrees</a></li><li data-type="method" id="MediumLinearMotor-setAccelerationTime-nav"><a href="MediumLinearMotor.html#setAccelerationTime">setAccelerationTime</a></li><li data-type="method" id="MediumLinearMotor-setBrakingStyle-nav"><a href="MediumLinearMotor.html#setBrakingStyle">setBrakingStyle</a></li><li data-type="method" id="MediumLinearMotor-setDecelerationTime-nav"><a href="MediumLinearMotor.html#setDecelerationTime">setDecelerationTime</a></li><li data-type="method" id="MediumLinearMotor-setMaxPower-nav"><a href="MediumLinearMotor.html#setMaxPower">setMaxPower</a></li><li data-type="method" id="MediumLinearMotor-setSpeed-nav"><a href="MediumLinearMotor.html#setSpeed">setSpeed</a></li></ul></li><li id="MotionSensor-nav"><a href="MotionSensor.html">MotionSensor</a></li><li id="MoveHub-nav"><a href="MoveHub.html">MoveHub</a><ul class='methods'><li data-type="method" id="MoveHub-createVirtualPort-nav"><a href="MoveHub.html#createVirtualPort">createVirtualPort</a></li><li data-type="method" id="MoveHub-setName-nav"><a href="MoveHub.html#setName">setName</a></li><li data-type="method" id="MoveHub-shutdown-nav"><a href="MoveHub.html#shutdown">shutdown</a></li></ul></li><li id="MoveHubMediumLinearMotor-nav"><a href="MoveHubMediumLinearMotor.html">MoveHubMediumLinearMotor</a><ul class='methods'><li data-type="method" id="MoveHubMediumLinearMotor-rotateByDegrees-nav"><a href="MoveHubMediumLinearMotor.html#rotateByDegrees">rotateByDegrees</a></li><li data-type="method" id="MoveHubMediumLinearMotor-setAccelerationTime-nav"><a href="MoveHubMediumLinearMotor.html#setAccelerationTime">setAccelerationTime</a></li><li data-type="method" id="MoveHubMediumLinearMotor-setBrakingStyle-nav"><a href="MoveHubMediumLinearMotor.html#setBrakingStyle">setBrakingStyle</a></li><li data-type="method" id="MoveHubMediumLinearMotor-setDecelerationTime-nav"><a href="MoveHubMediumLinearMotor.html#setDecelerationTime">setDecelerationTime</a></li><li data-type="method" id="MoveHubMediumLinearMotor-setMaxPower-nav"><a href="MoveHubMediumLinearMotor.html#setMaxPower">setMaxPower</a></li><li data-type="method" id="MoveHubMediumLinearMotor-setSpeed-nav"><a href="MoveHubMediumLinearMotor.html#setSpeed">setSpeed</a></li></ul></li><li id="MoveHubTiltSensor-nav"><a href="MoveHubTiltSensor.html">MoveHubTiltSensor</a></li><li id="PiezoBuzzer-nav"><a href="PiezoBuzzer.html">PiezoBuzzer</a><ul class='methods'><li data-type="method" id="PiezoBuzzer-playTone-nav"><a href="PiezoBuzzer.html#playTone">playTone</a></li></ul></li><li id="PoweredUP-nav"><a href="PoweredUP.html">PoweredUP</a><ul class='methods'><li data-type="method" id="PoweredUP-getHubByPrimaryMACAddress-nav"><a href="PoweredUP.html#getHubByPrimaryMACAddress">getHubByPrimaryMACAddress</a></li><li data-type="method" id="PoweredUP-getHubByPrimaryMACAddress-nav"><a href="PoweredUP.html#getHubByPrimaryMACAddress">getHubByPrimaryMACAddress</a></li><li data-type="method" id="PoweredUP-getHubByUUID-nav"><a href="PoweredUP.html#getHubByUUID">getHubByUUID</a></li><li data-type="method" id="PoweredUP-getHubByUUID-nav"><a href="PoweredUP.html#getHubByUUID">getHubByUUID</a></li><li data-type="method" id="PoweredUP-getHubs-nav"><a href="PoweredUP.html#getHubs">getHubs</a></li><li data-type="method" id="PoweredUP-getHubs-nav"><a href="PoweredUP.html#getHubs">getHubs</a></li><li data-type="method" id="PoweredUP-getHubsByName-nav"><a href="PoweredUP.html#getHubsByName">getHubsByName</a></li><li data-type="method" id="PoweredUP-getHubsByName-nav"><a href="PoweredUP.html#getHubsByName">getHubsByName</a></li><li data-type="method" id="PoweredUP-getHubsByType-nav"><a href="PoweredUP.html#getHubsByType">getHubsByType</a></li><li data-type="method" id="PoweredUP-getHubsByType-nav"><a href="PoweredUP.html#getHubsByType">getHubsByType</a></li><li data-type="method" id="PoweredUP-scan-nav"><a href="PoweredUP.html#scan">scan</a></li><li data-type="method" id="PoweredUP-scan-nav"><a href="PoweredUP.html#scan">scan</a></li><li data-type="method" id="PoweredUP-stop-nav"><a href="PoweredUP.html#stop">stop</a></li></ul></li><li id="RemoteControl-nav"><a href="RemoteControl.html">RemoteControl</a><ul class='methods'><li data-type="method" id="RemoteControl-createVirtualPort-nav"><a href="RemoteControl.html#createVirtualPort">createVirtualPort</a></li><li data-type="method" id="RemoteControl-setName-nav"><a href="RemoteControl.html#setName">setName</a></li><li data-type="method" id="RemoteControl-shutdown-nav"><a href="RemoteControl.html#shutdown">shutdown</a></li></ul></li><li id="RemoteControlButton-nav"><a href="RemoteControlButton.html">RemoteControlButton</a></li><li id="SimpleMediumLinearMotor-nav"><a href="SimpleMediumLinearMotor.html">SimpleMediumLinearMotor</a></li><li id="TachoMotor-nav"><a href="TachoMotor.html">TachoMotor</a><ul class='methods'><li data-type="method" id="TachoMotor-brake-nav"><a href="TachoMotor.html#brake">brake</a></li><li data-type="method" id="TachoMotor-rampPower-nav"><a href="TachoMotor.html#rampPower">rampPower</a></li><li data-type="method" id="TachoMotor-rotateByDegrees-nav"><a href="TachoMotor.html#rotateByDegrees">rotateByDegrees</a></li><li data-type="method" id="TachoMotor-setAccelerationTime-nav"><a href="TachoMotor.html#setAccelerationTime">setAccelerationTime</a></li><li data-type="method" id="TachoMotor-setBrakingStyle-nav"><a href="TachoMotor.html#setBrakingStyle">setBrakingStyle</a></li><li data-type="method" id="TachoMotor-setDecelerationTime-nav"><a href="TachoMotor.html#setDecelerationTime">setDecelerationTime</a></li><li data-type="method" id="TachoMotor-setMaxPower-nav"><a href="TachoMotor.html#setMaxPower">setMaxPower</a></li><li data-type="method" id="TachoMotor-setPower-nav"><a href="TachoMotor.html#setPower">setPower</a></li><li data-type="method" id="TachoMotor-setSpeed-nav"><a href="TachoMotor.html#setSpeed">setSpeed</a></li><li data-type="method" id="TachoMotor-stop-nav"><a href="TachoMotor.html#stop">stop</a></li></ul></li><li id="Technic3x3ColorLightMatrix-nav"><a href="Technic3x3ColorLightMatrix.html">Technic3x3ColorLightMatrix</a><ul class='methods'><li data-type="method" id="Technic3x3ColorLightMatrix-setMatrix-nav"><a href="Technic3x3ColorLightMatrix.html#setMatrix">setMatrix</a></li></ul></li><li id="TechnicColorSensor-nav"><a href="TechnicColorSensor.html">TechnicColorSensor</a><ul class='methods'><li data-type="method" id="TechnicColorSensor-setBrightness-nav"><a href="TechnicColorSensor.html#setBrightness">setBrightness</a></li></ul></li><li id="TechnicDistanceSensor-nav"><a href="TechnicDistanceSensor.html">TechnicDistanceSensor</a><ul class='methods'><li data-type="method" id="TechnicDistanceSensor-setBrightness-nav"><a href="TechnicDistanceSensor.html#setBrightness">setBrightness</a></li></ul></li><li id="TechnicForceSensor-nav"><a href="TechnicForceSensor.html">TechnicForceSensor</a></li><li id="TechnicLargeAngularMotor-nav"><a href="TechnicLargeAngularMotor.html">TechnicLargeAngularMotor</a><ul class='methods'><li data-type="method" id="TechnicLargeAngularMotor-gotoAngle-nav"><a href="TechnicLargeAngularMotor.html#gotoAngle">gotoAngle</a></li><li data-type="method" id="TechnicLargeAngularMotor-gotoRealZero-nav"><a href="TechnicLargeAngularMotor.html#gotoRealZero">gotoRealZero</a></li><li data-type="method" id="TechnicLargeAngularMotor-resetZero-nav"><a href="TechnicLargeAngularMotor.html#resetZero">resetZero</a></li><li data-type="method" id="TechnicLargeAngularMotor-rotateByDegrees-nav"><a href="TechnicLargeAngularMotor.html#rotateByDegrees">rotateByDegrees</a></li><li data-type="method" id="TechnicLargeAngularMotor-setAccelerationTime-nav"><a href="TechnicLargeAngularMotor.html#setAccelerationTime">setAccelerationTime</a></li><li data-type="method" id="TechnicLargeAngularMotor-setBrakingStyle-nav"><a href="TechnicLargeAngularMotor.html#setBrakingStyle">setBrakingStyle</a></li><li data-type="method" id="TechnicLargeAngularMotor-setDecelerationTime-nav"><a href="TechnicLargeAngularMotor.html#setDecelerationTime">setDecelerationTime</a></li><li data-type="method" id="TechnicLargeAngularMotor-setMaxPower-nav"><a href="TechnicLargeAngularMotor.html#setMaxPower">setMaxPower</a></li><li data-type="method" id="TechnicLargeAngularMotor-setSpeed-nav"><a href="TechnicLargeAngularMotor.html#setSpeed">setSpeed</a></li></ul></li><li id="TechnicLargeLinearMotor-nav"><a href="TechnicLargeLinearMotor.html">TechnicLargeLinearMotor</a><ul class='methods'><li data-type="method" id="TechnicLargeLinearMotor-gotoAngle-nav"><a href="TechnicLargeLinearMotor.html#gotoAngle">gotoAngle</a></li><li data-type="method" id="TechnicLargeLinearMotor-gotoRealZero-nav"><a href="TechnicLargeLinearMotor.html#gotoRealZero">gotoRealZero</a></li><li data-type="method" id="TechnicLargeLinearMotor-resetZero-nav"><a href="TechnicLargeLinearMotor.html#resetZero">resetZero</a></li><li data-type="method" id="TechnicLargeLinearMotor-rotateByDegrees-nav"><a href="TechnicLargeLinearMotor.html#rotateByDegrees">rotateByDegrees</a></li><li data-type="method" id="TechnicLargeLinearMotor-setAccelerationTime-nav"><a href="TechnicLargeLinearMotor.html#setAccelerationTime">setAccelerationTime</a></li><li data-type="method" id="TechnicLargeLinearMotor-setBrakingStyle-nav"><a href="TechnicLargeLinearMotor.html#setBrakingStyle">setBrakingStyle</a></li><li data-type="method" id="TechnicLargeLinearMotor-setDecelerationTime-nav"><a href="TechnicLargeLinearMotor.html#setDecelerationTime">setDecelerationTime</a></li><li data-type="method" id="TechnicLargeLinearMotor-setMaxPower-nav"><a href="TechnicLargeLinearMotor.html#setMaxPower">setMaxPower</a></li><li data-type="method" id="TechnicLargeLinearMotor-setSpeed-nav"><a href="TechnicLargeLinearMotor.html#setSpeed">setSpeed</a></li></ul></li><li id="TechnicMediumAngularMotor-nav"><a href="TechnicMediumAngularMotor.html">TechnicMediumAngularMotor</a><ul class='methods'><li data-type="method" id="TechnicMediumAngularMotor-gotoAngle-nav"><a href="TechnicMediumAngularMotor.html#gotoAngle">gotoAngle</a></li><li data-type="method" id="TechnicMediumAngularMotor-gotoRealZero-nav"><a href="TechnicMediumAngularMotor.html#gotoRealZero">gotoRealZero</a></li><li data-type="method" id="TechnicMediumAngularMotor-resetZero-nav"><a href="TechnicMediumAngularMotor.html#resetZero">resetZero</a></li><li data-type="method" id="TechnicMediumAngularMotor-rotateByDegrees-nav"><a href="TechnicMediumAngularMotor.html#rotateByDegrees">rotateByDegrees</a></li><li data-type="method" id="TechnicMediumAngularMotor-setAccelerationTime-nav"><a href="TechnicMediumAngularMotor.html#setAccelerationTime">setAccelerationTime</a></li><li data-type="method" id="TechnicMediumAngularMotor-setBrakingStyle-nav"><a href="TechnicMediumAngularMotor.html#setBrakingStyle">setBrakingStyle</a></li><li data-type="method" id="TechnicMediumAngularMotor-setDecelerationTime-nav"><a href="TechnicMediumAngularMotor.html#setDecelerationTime">setDecelerationTime</a></li><li data-type="method" id="TechnicMediumAngularMotor-setMaxPower-nav"><a href="TechnicMediumAngularMotor.html#setMaxPower">setMaxPower</a></li><li data-type="method" id="TechnicMediumAngularMotor-setSpeed-nav"><a href="TechnicMediumAngularMotor.html#setSpeed">setSpeed</a></li></ul></li><li id="TechnicMediumHub-nav"><a href="TechnicMediumHub.html">TechnicMediumHub</a><ul class='methods'><li data-type="method" id="TechnicMediumHub-createVirtualPort-nav"><a href="TechnicMediumHub.html#createVirtualPort">createVirtualPort</a></li><li data-type="method" id="TechnicMediumHub-setName-nav"><a href="TechnicMediumHub.html#setName">setName</a></li><li data-type="method" id="TechnicMediumHub-shutdown-nav"><a href="TechnicMediumHub.html#shutdown">shutdown</a></li></ul></li><li id="TechnicMediumHubAccelerometerSensor-nav"><a href="TechnicMediumHubAccelerometerSensor.html">TechnicMediumHubAccelerometerSensor</a></li><li id="TechnicMediumHubGyroSensor-nav"><a href="TechnicMediumHubGyroSensor.html">TechnicMediumHubGyroSensor</a></li><li id="TechnicMediumHubTiltSensor-nav"><a href="TechnicMediumHubTiltSensor.html">TechnicMediumHubTiltSensor</a><ul class='methods'><li data-type="method" id="TechnicMediumHubTiltSensor-setImpactCount-nav"><a href="TechnicMediumHubTiltSensor.html#setImpactCount">setImpactCount</a></li><li data-type="method" id="TechnicMediumHubTiltSensor-setImpactHoldoff-nav"><a href="TechnicMediumHubTiltSensor.html#setImpactHoldoff">setImpactHoldoff</a></li><li data-type="method" id="TechnicMediumHubTiltSensor-setImpactThreshold-nav"><a href="TechnicMediumHubTiltSensor.html#setImpactThreshold">setImpactThreshold</a></li></ul></li><li id="TechnicSmallAngularMotor-nav"><a href="TechnicSmallAngularMotor.html">TechnicSmallAngularMotor</a><ul class='methods'><li data-type="method" id="TechnicSmallAngularMotor-gotoAngle-nav"><a href="TechnicSmallAngularMotor.html#gotoAngle">gotoAngle</a></li><li data-type="method" id="TechnicSmallAngularMotor-gotoRealZero-nav"><a href="TechnicSmallAngularMotor.html#gotoRealZero">gotoRealZero</a></li><li data-type="method" id="TechnicSmallAngularMotor-resetZero-nav"><a href="TechnicSmallAngularMotor.html#resetZero">resetZero</a></li><li data-type="method" id="TechnicSmallAngularMotor-rotateByDegrees-nav"><a href="TechnicSmallAngularMotor.html#rotateByDegrees">rotateByDegrees</a></li><li data-type="method" id="TechnicSmallAngularMotor-setAccelerationTime-nav"><a href="TechnicSmallAngularMotor.html#setAccelerationTime">setAccelerationTime</a></li><li data-type="method" id="TechnicSmallAngularMotor-setBrakingStyle-nav"><a href="TechnicSmallAngularMotor.html#setBrakingStyle">setBrakingStyle</a></li><li data-type="method" id="TechnicSmallAngularMotor-setDecelerationTime-nav"><a href="TechnicSmallAngularMotor.html#setDecelerationTime">setDecelerationTime</a></li><li data-type="method" id="TechnicSmallAngularMotor-setMaxPower-nav"><a href="TechnicSmallAngularMotor.html#setMaxPower">setMaxPower</a></li><li data-type="method" id="TechnicSmallAngularMotor-setSpeed-nav"><a href="TechnicSmallAngularMotor.html#setSpeed">setSpeed</a></li></ul></li><li id="TechnicXLargeLinearMotor-nav"><a href="TechnicXLargeLinearMotor.html">TechnicXLargeLinearMotor</a><ul class='methods'><li data-type="method" id="TechnicXLargeLinearMotor-gotoAngle-nav"><a href="TechnicXLargeLinearMotor.html#gotoAngle">gotoAngle</a></li><li data-type="method" id="TechnicXLargeLinearMotor-gotoRealZero-nav"><a href="TechnicXLargeLinearMotor.html#gotoRealZero">gotoRealZero</a></li><li data-type="method" id="TechnicXLargeLinearMotor-resetZero-nav"><a href="TechnicXLargeLinearMotor.html#resetZero">resetZero</a></li><li data-type="method" id="TechnicXLargeLinearMotor-rotateByDegrees-nav"><a href="TechnicXLargeLinearMotor.html#rotateByDegrees">rotateByDegrees</a></li><li data-type="method" id="TechnicXLargeLinearMotor-setAccelerationTime-nav"><a href="TechnicXLargeLinearMotor.html#setAccelerationTime">setAccelerationTime</a></li><li data-type="method" id="TechnicXLargeLinearMotor-setBrakingStyle-nav"><a href="TechnicXLargeLinearMotor.html#setBrakingStyle">setBrakingStyle</a></li><li data-type="method" id="TechnicXLargeLinearMotor-setDecelerationTime-nav"><a href="TechnicXLargeLinearMotor.html#setDecelerationTime">setDecelerationTime</a></li><li data-type="method" id="TechnicXLargeLinearMotor-setMaxPower-nav"><a href="TechnicXLargeLinearMotor.html#setMaxPower">setMaxPower</a></li><li data-type="method" id="TechnicXLargeLinearMotor-setSpeed-nav"><a href="TechnicXLargeLinearMotor.html#setSpeed">setSpeed</a></li></ul></li><li id="TiltSensor-nav"><a href="TiltSensor.html">TiltSensor</a></li><li id="TrainMotor-nav"><a href="TrainMotor.html">TrainMotor</a><ul class='methods'><li data-type="method" id="TrainMotor-brake-nav"><a href="TrainMotor.html#brake">brake</a></li><li data-type="method" id="TrainMotor-rampPower-nav"><a href="TrainMotor.html#rampPower">rampPower</a></li><li data-type="method" id="TrainMotor-setPower-nav"><a href="TrainMotor.html#setPower">setPower</a></li><li data-type="method" id="TrainMotor-stop-nav"><a href="TrainMotor.html#stop">stop</a></li></ul></li><li id="VoltageSensor-nav"><a href="VoltageSensor.html">VoltageSensor</a></li><li id="WeDo2SmartHub-nav"><a href="WeDo2SmartHub.html">WeDo2SmartHub</a><ul class='methods'><li data-type="method" id="WeDo2SmartHub-setName-nav"><a href="WeDo2SmartHub.html#setName">setName</a></li><li data-type="method" id="WeDo2SmartHub-shutdown-nav"><a href="WeDo2SmartHub.html#shutdown">shutdown</a></li></ul></li></ul><h3 id="global-nav"><a href="global.html">Global</a></h3>
77
- </nav>
78
24
 
79
- <div id="main">
80
-
81
- <h1 class="page-title">
82
- TechnicSmallAngularMotor
83
- </h1>
84
-
85
25
 
86
-
87
26
 
88
27
  <section>
89
- <header>
28
+
29
+ <header>
90
30
 
91
- <h2>
31
+ <h2><span class="attribs"><span class="type-signature"></span></span>TechnicSmallAngularMotor<span class="signature">()</span><span class="type-signature"></span></h2>
92
32
 
93
- TechnicSmallAngularMotor
94
-
95
- </h2>
96
-
97
-
98
33
 
99
- </header>
34
+ </header>
100
35
 
101
- <article>
36
+ <article>
102
37
  <div class="container-overview">
103
-
38
+
104
39
 
105
40
 
41
+
42
+
43
+
44
+ <h4 class="name" id="TechnicSmallAngularMotor"><span class="type-signature"></span>new TechnicSmallAngularMotor<span class="signature">()</span><span class="type-signature"></span></h4>
45
+
46
+
47
+
106
48
 
107
-
108
49
 
109
- <span class='name-container'>
110
- <a class="link-icon" href="#TechnicSmallAngularMotor">
111
- <svg height="20" width="20" style="fill: black;">
112
- <use xlink:href="#linkIcon"></use>
113
- </svg>
114
- </a>
115
- <h4 class="name" id="TechnicSmallAngularMotor">
116
- <span class="type-signature"></span>new TechnicSmallAngularMotor<span class="signature">()</span><span class="type-signature"></span>
117
- </h4>
118
- </span>
119
50
 
120
-
121
51
 
122
52
 
123
53
 
@@ -132,46 +62,42 @@
132
62
 
133
63
  <dl class="details">
134
64
 
135
-
65
+
136
66
 
137
-
67
+
138
68
 
139
-
69
+
140
70
 
141
-
71
+
142
72
 
143
-
73
+
144
74
 
145
-
75
+
146
76
 
147
-
77
+
148
78
 
149
-
79
+
150
80
 
151
-
81
+
152
82
 
153
-
83
+
154
84
 
155
-
85
+
156
86
 
157
-
87
+
158
88
 
159
-
89
+
160
90
  <dt class="tag-source">Source:</dt>
161
- <dd class="tag-source">
162
- <ul class="dummy">
163
- <li>
164
- <a href="devices_technicsmallangularmotor.js.html">devices/technicsmallangularmotor.js</a>, <a href="devices_technicsmallangularmotor.js.html#line25">line 25</a>
165
- </li>
166
- </ul>
167
- </dd>
168
-
91
+ <dd class="tag-source"><ul class="dummy"><li>
92
+ <a href="devices_technicsmallangularmotor.js.html">devices/technicsmallangularmotor.js</a>, <a href="devices_technicsmallangularmotor.js.html#line29">line 29</a>
93
+ </li></ul></dd>
94
+
169
95
 
170
-
96
+
171
97
 
172
-
98
+
173
99
 
174
-
100
+
175
101
  </dl>
176
102
 
177
103
 
@@ -187,18 +113,24 @@
187
113
 
188
114
 
189
115
 
190
-
116
+
117
+
118
+
119
+
120
+
121
+
122
+
191
123
  </div>
192
124
 
193
125
 
194
- <h3 class="subsection-title">Extends</h3>
126
+ <h3 class="subsection-title">Extends</h3>
195
127
 
196
-
128
+
197
129
 
198
130
 
199
- <ul>
200
- <li><a href="AbsoluteMotor.html">AbsoluteMotor</a></li>
201
- </ul>
131
+ <ul>
132
+ <li><a href="AbsoluteMotor.html">AbsoluteMotor</a></li>
133
+ </ul>
202
134
 
203
135
 
204
136
 
@@ -207,39 +139,35 @@
207
139
 
208
140
 
209
141
 
210
-
142
+
211
143
 
212
144
 
213
145
 
214
146
 
215
147
 
216
148
 
217
- <h3 class="subsection-title">Methods</h3>
218
149
 
219
-
220
-
150
+
151
+ <h3 class="subsection-title">Methods</h3>
221
152
 
153
+
154
+
222
155
 
223
-
156
+
224
157
 
225
- <span class='name-container'>
226
- <a class="link-icon" href="#gotoAngle">
227
- <svg height="20" width="20" style="fill: black;">
228
- <use xlink:href="#linkIcon"></use>
229
- </svg>
230
- </a>
231
- <h4 class="name" id="gotoAngle">
232
- <span class="type-signature"></span>gotoAngle<span class="signature">(angle, speed<span class="signature-attributes">opt</span>)</span><span class="type-signature"> &rarr; {Promise}</span>
233
- </h4>
234
- </span>
158
+
159
+ <h4 class="name" id="gotoAngle"><span class="type-signature"></span>gotoAngle<span class="signature">(angle, speed<span class="signature-attributes">opt</span>)</span><span class="type-signature"> &rarr; {Promise}</span></h4>
160
+
235
161
 
236
-
162
+
237
163
 
238
164
 
239
165
 
240
- <div class="description">
166
+ <div class="description">
241
167
  <p>Rotate a motor by a given angle.</p>
242
- </div>
168
+ </div>
169
+
170
+
243
171
 
244
172
 
245
173
 
@@ -247,176 +175,157 @@
247
175
 
248
176
 
249
177
 
250
- <h5>Parameters:</h5>
251
-
178
+ <h5>Parameters:</h5>
179
+
252
180
 
253
181
  <table class="params">
254
- <thead>
182
+ <thead>
255
183
  <tr>
256
-
184
+
257
185
  <th>Name</th>
258
-
186
+
259
187
 
260
- <th>Type</th>
188
+ <th>Type</th>
261
189
 
262
-
190
+
263
191
  <th>Attributes</th>
264
-
192
+
265
193
 
266
-
194
+
267
195
  <th>Default</th>
268
-
196
+
269
197
 
270
- <th class="last">Description</th>
198
+ <th class="last">Description</th>
271
199
  </tr>
272
- </thead>
200
+ </thead>
273
201
 
274
- <tbody>
202
+ <tbody>
275
203
 
276
- <tr>
277
-
278
- <td class="name"><code>angle</code></td>
279
-
280
204
 
281
- <td class="type">
282
-
205
+ <tr>
206
+
207
+ <td class="name"><code>angle</code></td>
283
208
 
284
- <span class="param-type">
285
- number
286
- </span>
287
-
288
-
289
209
 
210
+ <td class="type">
211
+
212
+
213
+ <span class="param-type">number</span>
290
214
 
291
-
292
- </td>
293
215
 
294
-
295
- <td class="attributes">
296
216
 
217
+ </td>
297
218
 
298
219
 
220
+ <td class="attributes">
221
+
299
222
 
223
+
224
+
225
+
226
+ </td>
300
227
 
301
- </td>
302
-
303
228
 
304
-
305
- <td class="default">
306
229
 
307
- </td>
308
-
230
+ <td class="default">
231
+
232
+ </td>
233
+
309
234
 
310
- <td class="description last">
311
- <p>Absolute position the motor should go to (degrees from 0).</p>
312
-
313
- </td>
314
- </tr>
235
+ <td class="description last"><p>Absolute position the motor should go to (degrees from 0).</p></td>
236
+ </tr>
315
237
 
316
238
 
317
- <tr>
318
-
319
- <td class="name"><code>speed</code></td>
320
-
321
239
 
322
- <td class="type">
323
-
240
+ <tr>
241
+
242
+ <td class="name"><code>speed</code></td>
324
243
 
325
- <span class="param-type">
326
- number
327
- </span>
328
-
329
-
330
244
 
245
+ <td class="type">
246
+
247
+
248
+ <span class="param-type">number</span>
331
249
 
332
-
333
- </td>
334
250
 
335
-
336
- <td class="attributes">
337
-
338
- &lt;optional><br>
339
251
 
252
+ </td>
340
253
 
341
254
 
255
+ <td class="attributes">
256
+
257
+ &lt;optional><br>
258
+
259
+
260
+
342
261
 
262
+
263
+ </td>
343
264
 
344
- </td>
345
-
346
265
 
347
-
348
- <td class="default">
349
266
 
350
- 100
267
+ <td class="default">
268
+
269
+ 100
270
+
271
+ </td>
351
272
 
352
- </td>
353
-
354
273
 
355
- <td class="description last">
356
- <p>For forward, a value between 1 - 100 should be set. For reverse, a value between -1 to -100.</p>
357
-
358
- </td>
359
- </tr>
274
+ <td class="description last"><p>For forward, a value between 1 - 100 should be set. For reverse, a value between -1 to -100.</p></td>
275
+ </tr>
360
276
 
361
277
 
362
- </tbody>
278
+ </tbody>
363
279
  </table>
364
280
 
365
281
 
366
282
 
367
283
 
368
284
 
285
+
369
286
  <dl class="details">
370
287
 
371
-
288
+
372
289
 
373
-
290
+
374
291
 
375
-
292
+
376
293
  <dt class="inherited-from">Inherited From:</dt>
377
- <dd class="inherited-from">
378
- <ul class="dummy">
379
- <li>
380
- <a href="AbsoluteMotor.html#gotoAngle">AbsoluteMotor#gotoAngle</a>
381
- </li>
382
- </ul>
383
- </dd>
384
-
294
+ <dd class="inherited-from"><ul class="dummy"><li>
295
+ <a href="AbsoluteMotor.html#gotoAngle">AbsoluteMotor#gotoAngle</a>
296
+ </li></ul></dd>
297
+
385
298
 
386
-
299
+
387
300
 
388
-
301
+
389
302
 
390
-
303
+
391
304
 
392
-
305
+
393
306
 
394
-
307
+
395
308
 
396
-
309
+
397
310
 
398
-
311
+
399
312
 
400
-
313
+
401
314
 
402
-
315
+
403
316
 
404
-
317
+
405
318
  <dt class="tag-source">Source:</dt>
406
- <dd class="tag-source">
407
- <ul class="dummy">
408
- <li>
409
- <a href="devices_absolutemotor.js.html">devices/absolutemotor.js</a>, <a href="devices_absolutemotor.js.html#line52">line 52</a>
410
- </li>
411
- </ul>
412
- </dd>
413
-
319
+ <dd class="tag-source"><ul class="dummy"><li>
320
+ <a href="devices_absolutemotor.js.html">devices/absolutemotor.js</a>, <a href="devices_absolutemotor.js.html#line56">line 56</a>
321
+ </li></ul></dd>
322
+
414
323
 
415
-
324
+
416
325
 
417
-
326
+
418
327
 
419
-
328
+
420
329
  </dl>
421
330
 
422
331
 
@@ -432,31 +341,53 @@
432
341
 
433
342
 
434
343
 
435
-
344
+
345
+ <h5>Returns:</h5>
346
+
347
+
348
+ <div class="param-desc">
349
+ <p>Resolved upon successful completion of command (ie. once the motor is finished).</p>
350
+ </div>
351
+
352
+
353
+
354
+ <dl>
355
+ <dt>
356
+ Type
357
+ </dt>
358
+ <dd>
436
359
 
360
+ <span class="param-type">Promise</span>
361
+
362
+
363
+ </dd>
364
+ </dl>
365
+
366
+
367
+
368
+
369
+
370
+
437
371
 
372
+
373
+
438
374
 
439
-
375
+
440
376
 
441
- <span class='name-container'>
442
- <a class="link-icon" href="#gotoRealZero">
443
- <svg height="20" width="20" style="fill: black;">
444
- <use xlink:href="#linkIcon"></use>
445
- </svg>
446
- </a>
447
- <h4 class="name" id="gotoRealZero">
448
- <span class="type-signature"></span>gotoRealZero<span class="signature">(speed<span class="signature-attributes">opt</span>)</span><span class="type-signature"> &rarr; {Promise}</span>
449
- </h4>
450
- </span>
377
+
378
+ <h4 class="name" id="gotoRealZero"><span class="type-signature"></span>gotoRealZero<span class="signature">(speed<span class="signature-attributes">opt</span>)</span><span class="type-signature"> &rarr; {Promise}</span></h4>
379
+
451
380
 
452
-
381
+
453
382
 
454
383
 
455
384
 
456
- <div class="description">
385
+ <div class="description">
457
386
  <p>Rotate motor to real zero position.</p>
458
387
  <p>Real zero is marked on Technic angular motors (SPIKE Prime). It is also available on Technic linear motors (Control+) but is unmarked.</p>
459
- </div>
388
+ </div>
389
+
390
+
460
391
 
461
392
 
462
393
 
@@ -464,135 +395,122 @@
464
395
 
465
396
 
466
397
 
467
- <h5>Parameters:</h5>
468
-
398
+ <h5>Parameters:</h5>
399
+
469
400
 
470
401
  <table class="params">
471
- <thead>
402
+ <thead>
472
403
  <tr>
473
-
404
+
474
405
  <th>Name</th>
475
-
406
+
476
407
 
477
- <th>Type</th>
408
+ <th>Type</th>
478
409
 
479
-
410
+
480
411
  <th>Attributes</th>
481
-
412
+
482
413
 
483
-
414
+
484
415
  <th>Default</th>
485
-
416
+
486
417
 
487
- <th class="last">Description</th>
418
+ <th class="last">Description</th>
488
419
  </tr>
489
- </thead>
420
+ </thead>
490
421
 
491
- <tbody>
422
+ <tbody>
492
423
 
493
- <tr>
494
-
495
- <td class="name"><code>speed</code></td>
496
-
497
424
 
498
- <td class="type">
499
-
425
+ <tr>
426
+
427
+ <td class="name"><code>speed</code></td>
500
428
 
501
- <span class="param-type">
502
- number
503
- </span>
504
-
505
-
506
429
 
430
+ <td class="type">
431
+
432
+
433
+ <span class="param-type">number</span>
507
434
 
508
-
509
- </td>
510
435
 
511
-
512
- <td class="attributes">
513
-
514
- &lt;optional><br>
515
436
 
437
+ </td>
516
438
 
517
439
 
440
+ <td class="attributes">
441
+
442
+ &lt;optional><br>
443
+
444
+
445
+
518
446
 
447
+
448
+ </td>
519
449
 
520
- </td>
521
-
522
450
 
523
-
524
- <td class="default">
525
451
 
526
- 100
452
+ <td class="default">
453
+
454
+ 100
455
+
456
+ </td>
527
457
 
528
- </td>
529
-
530
458
 
531
- <td class="description last">
532
- <p>Speed between 1 - 100. Note that this will always take the shortest path to zero.</p>
533
-
534
- </td>
535
- </tr>
459
+ <td class="description last"><p>Speed between 1 - 100. Note that this will always take the shortest path to zero.</p></td>
460
+ </tr>
536
461
 
537
462
 
538
- </tbody>
463
+ </tbody>
539
464
  </table>
540
465
 
541
466
 
542
467
 
543
468
 
544
469
 
470
+
545
471
  <dl class="details">
546
472
 
547
-
473
+
548
474
 
549
-
475
+
550
476
 
551
-
477
+
552
478
  <dt class="inherited-from">Inherited From:</dt>
553
- <dd class="inherited-from">
554
- <ul class="dummy">
555
- <li>
556
- <a href="AbsoluteMotor.html#gotoRealZero">AbsoluteMotor#gotoRealZero</a>
557
- </li>
558
- </ul>
559
- </dd>
560
-
479
+ <dd class="inherited-from"><ul class="dummy"><li>
480
+ <a href="AbsoluteMotor.html#gotoRealZero">AbsoluteMotor#gotoRealZero</a>
481
+ </li></ul></dd>
482
+
561
483
 
562
-
484
+
563
485
 
564
-
486
+
565
487
 
566
-
488
+
567
489
 
568
-
490
+
569
491
 
570
-
492
+
571
493
 
572
-
494
+
573
495
 
574
-
496
+
575
497
 
576
-
498
+
577
499
 
578
-
500
+
579
501
 
580
-
502
+
581
503
  <dt class="tag-source">Source:</dt>
582
- <dd class="tag-source">
583
- <ul class="dummy">
584
- <li>
585
- <a href="devices_absolutemotor.js.html">devices/absolutemotor.js</a>, <a href="devices_absolutemotor.js.html#line87">line 87</a>
586
- </li>
587
- </ul>
588
- </dd>
589
-
504
+ <dd class="tag-source"><ul class="dummy"><li>
505
+ <a href="devices_absolutemotor.js.html">devices/absolutemotor.js</a>, <a href="devices_absolutemotor.js.html#line91">line 91</a>
506
+ </li></ul></dd>
507
+
590
508
 
591
-
509
+
592
510
 
593
-
511
+
594
512
 
595
-
513
+
596
514
  </dl>
597
515
 
598
516
 
@@ -608,130 +526,113 @@
608
526
 
609
527
 
610
528
 
611
-
612
-
613
529
 
530
+ <h5>Returns:</h5>
614
531
 
615
-
532
+
533
+ <div class="param-desc">
534
+ <p>Resolved upon successful completion of command (ie. once the motor is finished).</p>
535
+ </div>
616
536
 
617
- <span class='name-container'>
618
- <a class="link-icon" href="#resetZero">
619
- <svg height="20" width="20" style="fill: black;">
620
- <use xlink:href="#linkIcon"></use>
621
- </svg>
622
- </a>
623
- <h4 class="name" id="resetZero">
624
- <span class="type-signature"></span>resetZero<span class="signature">()</span><span class="type-signature"> &rarr; {Promise}</span>
625
- </h4>
626
- </span>
627
537
 
628
-
629
538
 
539
+ <dl>
540
+ <dt>
541
+ Type
542
+ </dt>
543
+ <dd>
544
+
545
+ <span class="param-type">Promise</span>
630
546
 
631
547
 
632
- <div class="description">
633
- <p>Reset zero to current position</p>
634
- </div>
548
+ </dd>
549
+ </dl>
635
550
 
551
+
636
552
 
637
553
 
638
554
 
639
555
 
640
556
 
557
+
558
+
641
559
 
560
+
642
561
 
562
+
563
+ <h4 class="name" id="resetZero"><span class="type-signature"></span>resetZero<span class="signature">()</span><span class="type-signature"> &rarr; {Promise}</span></h4>
564
+
643
565
 
566
+
644
567
 
645
- <dl class="details">
646
568
 
647
-
648
569
 
649
-
570
+ <div class="description">
571
+ <p>Reset zero to current position</p>
572
+ </div>
650
573
 
651
-
652
- <dt class="inherited-from">Inherited From:</dt>
653
- <dd class="inherited-from">
654
- <ul class="dummy">
655
- <li>
656
- <a href="AbsoluteMotor.html#resetZero">AbsoluteMotor#resetZero</a>
657
- </li>
658
- </ul>
659
- </dd>
660
-
661
574
 
662
-
663
575
 
664
-
665
576
 
666
-
667
577
 
668
-
669
578
 
670
-
671
579
 
672
-
673
580
 
674
-
675
581
 
676
-
677
582
 
678
-
679
583
 
680
-
681
- <dt class="tag-source">Source:</dt>
682
- <dd class="tag-source">
683
- <ul class="dummy">
684
- <li>
685
- <a href="devices_absolutemotor.js.html">devices/absolutemotor.js</a>, <a href="devices_absolutemotor.js.html#line118">line 118</a>
686
- </li>
687
- </ul>
688
- </dd>
689
-
690
584
 
691
-
692
585
 
693
-
586
+ <dl class="details">
694
587
 
695
-
696
- </dl>
588
+
697
589
 
590
+
698
591
 
592
+
593
+ <dt class="inherited-from">Inherited From:</dt>
594
+ <dd class="inherited-from"><ul class="dummy"><li>
595
+ <a href="AbsoluteMotor.html#resetZero">AbsoluteMotor#resetZero</a>
596
+ </li></ul></dd>
597
+
699
598
 
599
+
700
600
 
601
+
701
602
 
603
+
702
604
 
605
+
703
606
 
607
+
704
608
 
609
+
705
610
 
611
+
706
612
 
613
+
707
614
 
615
+
708
616
 
617
+
618
+ <dt class="tag-source">Source:</dt>
619
+ <dd class="tag-source"><ul class="dummy"><li>
620
+ <a href="devices_absolutemotor.js.html">devices/absolutemotor.js</a>, <a href="devices_absolutemotor.js.html#line122">line 122</a>
621
+ </li></ul></dd>
622
+
709
623
 
624
+
710
625
 
711
-
712
-
626
+
713
627
 
628
+
629
+ </dl>
714
630
 
715
-
716
631
 
717
- <span class='name-container'>
718
- <a class="link-icon" href="#rotateByDegrees">
719
- <svg height="20" width="20" style="fill: black;">
720
- <use xlink:href="#linkIcon"></use>
721
- </svg>
722
- </a>
723
- <h4 class="name" id="rotateByDegrees">
724
- <span class="type-signature"></span>rotateByDegrees<span class="signature">(degrees, speed<span class="signature-attributes">opt</span>)</span><span class="type-signature"> &rarr; {Promise}</span>
725
- </h4>
726
- </span>
727
632
 
728
-
729
633
 
730
634
 
731
635
 
732
- <div class="description">
733
- <p>Rotate a motor by a given amount of degrees.</p>
734
- </div>
735
636
 
736
637
 
737
638
 
@@ -739,176 +640,211 @@
739
640
 
740
641
 
741
642
 
742
- <h5>Parameters:</h5>
743
-
744
643
 
745
- <table class="params">
746
- <thead>
747
- <tr>
748
-
749
- <th>Name</th>
750
-
751
644
 
752
- <th>Type</th>
645
+ <h5>Returns:</h5>
753
646
 
754
-
755
- <th>Attributes</th>
756
-
647
+
648
+ <div class="param-desc">
649
+ <p>Resolved upon successful completion of command (ie. once the motor is finished).</p>
650
+ </div>
757
651
 
758
-
759
- <th>Default</th>
760
-
761
652
 
762
- <th class="last">Description</th>
763
- </tr>
764
- </thead>
765
653
 
766
- <tbody>
767
-
768
- <tr>
769
-
770
- <td class="name"><code>degrees</code></td>
654
+ <dl>
655
+ <dt>
656
+ Type
657
+ </dt>
658
+ <dd>
771
659
 
660
+ <span class="param-type">Promise</span>
772
661
 
773
- <td class="type">
774
-
775
-
776
- <span class="param-type">
777
- number
778
- </span>
779
662
 
780
-
663
+ </dd>
664
+ </dl>
781
665
 
666
+
782
667
 
783
-
784
- </td>
785
668
 
786
-
787
- <td class="attributes">
788
-
789
669
 
790
-
791
670
 
792
-
793
- </td>
794
-
795
671
 
796
672
 
797
- <td class="default">
798
673
 
799
- </td>
800
-
801
674
 
802
- <td class="description last">
803
- <p>How much the motor should be rotated (in degrees).</p>
804
-
805
- </td>
806
- </tr>
675
+
676
+
677
+
678
+ <h4 class="name" id="rotateByDegrees"><span class="type-signature"></span>rotateByDegrees<span class="signature">(degrees, speed<span class="signature-attributes">opt</span>)</span><span class="type-signature"> &rarr; {Promise}</span></h4>
679
+
680
+
681
+
682
+
683
+
684
+
685
+ <div class="description">
686
+ <p>Rotate a motor by a given amount of degrees.</p>
687
+ </div>
688
+
689
+
690
+
691
+
692
+
693
+
694
+
695
+
807
696
 
697
+ <h5>Parameters:</h5>
808
698
 
809
- <tr>
699
+
700
+ <table class="params">
701
+ <thead>
702
+ <tr>
810
703
 
811
- <td class="name"><code>speed</code></td>
704
+ <th>Name</th>
812
705
 
813
706
 
814
- <td class="type">
815
-
816
-
817
- <span class="param-type">
818
- number
819
- </span>
707
+ <th>Type</th>
708
+
709
+
710
+ <th>Attributes</th>
711
+
820
712
 
713
+
714
+ <th>Default</th>
715
+
716
+
717
+ <th class="last">Description</th>
718
+ </tr>
719
+ </thead>
720
+
721
+ <tbody>
821
722
 
822
723
 
724
+ <tr>
725
+
726
+ <td class="name"><code>degrees</code></td>
727
+
728
+
729
+ <td class="type">
730
+
731
+
732
+ <span class="param-type">number</span>
823
733
 
824
-
825
- </td>
826
734
 
827
-
828
- <td class="attributes">
829
735
 
830
- &lt;optional><br>
736
+ </td>
737
+
831
738
 
739
+ <td class="attributes">
740
+
832
741
 
742
+
743
+
744
+
745
+ </td>
833
746
 
834
747
 
835
748
 
836
- </td>
837
-
749
+ <td class="default">
750
+
751
+ </td>
752
+
838
753
 
839
-
840
- <td class="default">
754
+ <td class="description last"><p>How much the motor should be rotated (in degrees).</p></td>
755
+ </tr>
756
+
757
+
758
+
759
+ <tr>
841
760
 
842
- 100
761
+ <td class="name"><code>speed</code></td>
843
762
 
844
- </td>
845
-
846
763
 
847
- <td class="description last">
848
- <p>For forward, a value between 1 - 100 should be set. For reverse, a value between -1 to -100.</p>
849
-
850
- </td>
851
- </tr>
764
+ <td class="type">
765
+
766
+
767
+ <span class="param-type">number</span>
768
+
769
+
770
+
771
+ </td>
772
+
773
+
774
+ <td class="attributes">
775
+
776
+ &lt;optional><br>
777
+
778
+
779
+
780
+
781
+
782
+ </td>
783
+
784
+
785
+
786
+ <td class="default">
787
+
788
+ 100
789
+
790
+ </td>
791
+
792
+
793
+ <td class="description last"><p>For forward, a value between 1 - 100 should be set. For reverse, a value between -1 to -100.</p></td>
794
+ </tr>
852
795
 
853
796
 
854
- </tbody>
797
+ </tbody>
855
798
  </table>
856
799
 
857
800
 
858
801
 
859
802
 
860
803
 
804
+
861
805
  <dl class="details">
862
806
 
863
-
807
+
864
808
 
865
-
809
+
866
810
 
867
-
811
+
868
812
  <dt class="inherited-from">Inherited From:</dt>
869
- <dd class="inherited-from">
870
- <ul class="dummy">
871
- <li>
872
- <a href="TachoMotor.html#rotateByDegrees">TachoMotor#rotateByDegrees</a>
873
- </li>
874
- </ul>
875
- </dd>
876
-
813
+ <dd class="inherited-from"><ul class="dummy"><li>
814
+ <a href="TachoMotor.html#rotateByDegrees">TachoMotor#rotateByDegrees</a>
815
+ </li></ul></dd>
816
+
877
817
 
878
-
818
+
879
819
 
880
-
820
+
881
821
 
882
-
822
+
883
823
 
884
-
824
+
885
825
 
886
-
826
+
887
827
 
888
-
828
+
889
829
 
890
-
830
+
891
831
 
892
-
832
+
893
833
 
894
-
834
+
895
835
 
896
-
836
+
897
837
  <dt class="tag-source">Source:</dt>
898
- <dd class="tag-source">
899
- <ul class="dummy">
900
- <li>
901
- <a href="devices_tachomotor.js.html">devices/tachomotor.js</a>, <a href="devices_tachomotor.js.html#line138">line 138</a>
902
- </li>
903
- </ul>
904
- </dd>
905
-
838
+ <dd class="tag-source"><ul class="dummy"><li>
839
+ <a href="devices_tachomotor.js.html">devices/tachomotor.js</a>, <a href="devices_tachomotor.js.html#line142">line 142</a>
840
+ </li></ul></dd>
841
+
906
842
 
907
-
843
+
908
844
 
909
-
845
+
910
846
 
911
-
847
+
912
848
  </dl>
913
849
 
914
850
 
@@ -924,30 +860,51 @@
924
860
 
925
861
 
926
862
 
927
-
863
+
864
+ <h5>Returns:</h5>
865
+
866
+
867
+ <div class="param-desc">
868
+ <p>Resolved upon successful completion of command (ie. once the motor is finished).</p>
869
+ </div>
870
+
871
+
872
+
873
+ <dl>
874
+ <dt>
875
+ Type
876
+ </dt>
877
+ <dd>
928
878
 
879
+ <span class="param-type">Promise</span>
880
+
881
+
882
+ </dd>
883
+ </dl>
884
+
885
+
886
+
887
+
929
888
 
930
889
 
931
-
932
890
 
933
- <span class='name-container'>
934
- <a class="link-icon" href="#setAccelerationTime">
935
- <svg height="20" width="20" style="fill: black;">
936
- <use xlink:href="#linkIcon"></use>
937
- </svg>
938
- </a>
939
- <h4 class="name" id="setAccelerationTime">
940
- <span class="type-signature"></span>setAccelerationTime<span class="signature">(time)</span><span class="type-signature"> &rarr; {Promise}</span>
941
- </h4>
942
- </span>
891
+
892
+
943
893
 
944
-
894
+
945
895
 
896
+
897
+ <h4 class="name" id="setAccelerationTime"><span class="type-signature"></span>setAccelerationTime<span class="signature">(time)</span><span class="type-signature"> &rarr; {Promise}</span></h4>
898
+
899
+
900
+
946
901
 
947
902
 
948
- <div class="description">
903
+
904
+ <div class="description">
949
905
  <p>Set the global acceleration time</p>
950
- </div>
906
+ </div>
907
+
951
908
 
952
909
 
953
910
 
@@ -955,115 +912,103 @@
955
912
 
956
913
 
957
914
 
958
- <h5>Parameters:</h5>
959
-
915
+
916
+ <h5>Parameters:</h5>
917
+
960
918
 
961
919
  <table class="params">
962
- <thead>
920
+ <thead>
963
921
  <tr>
964
-
922
+
965
923
  <th>Name</th>
966
-
924
+
967
925
 
968
- <th>Type</th>
926
+ <th>Type</th>
969
927
 
970
-
928
+
971
929
 
972
-
930
+
973
931
 
974
- <th class="last">Description</th>
932
+ <th class="last">Description</th>
975
933
  </tr>
976
- </thead>
934
+ </thead>
977
935
 
978
- <tbody>
936
+ <tbody>
979
937
 
980
- <tr>
981
-
982
- <td class="name"><code>time</code></td>
983
-
984
938
 
985
- <td class="type">
986
-
939
+ <tr>
940
+
941
+ <td class="name"><code>time</code></td>
987
942
 
988
- <span class="param-type">
989
- number
990
- </span>
991
943
 
992
-
944
+ <td class="type">
945
+
946
+
947
+ <span class="param-type">number</span>
993
948
 
994
949
 
995
-
996
- </td>
950
+
951
+ </td>
997
952
 
998
-
953
+
999
954
 
1000
-
955
+
1001
956
 
1002
- <td class="description last">
1003
- <p>How long acceleration should last (in milliseconds).</p>
1004
-
1005
- </td>
1006
- </tr>
957
+ <td class="description last"><p>How long acceleration should last (in milliseconds).</p></td>
958
+ </tr>
1007
959
 
1008
960
 
1009
- </tbody>
961
+ </tbody>
1010
962
  </table>
1011
963
 
1012
964
 
1013
965
 
1014
966
 
1015
967
 
968
+
1016
969
  <dl class="details">
1017
970
 
1018
-
971
+
1019
972
 
1020
-
973
+
1021
974
 
1022
-
975
+
1023
976
  <dt class="inherited-from">Inherited From:</dt>
1024
- <dd class="inherited-from">
1025
- <ul class="dummy">
1026
- <li>
1027
- <a href="TachoMotor.html#setAccelerationTime">TachoMotor#setAccelerationTime</a>
1028
- </li>
1029
- </ul>
1030
- </dd>
1031
-
977
+ <dd class="inherited-from"><ul class="dummy"><li>
978
+ <a href="TachoMotor.html#setAccelerationTime">TachoMotor#setAccelerationTime</a>
979
+ </li></ul></dd>
980
+
1032
981
 
1033
-
982
+
1034
983
 
1035
-
984
+
1036
985
 
1037
-
986
+
1038
987
 
1039
-
988
+
1040
989
 
1041
-
990
+
1042
991
 
1043
-
992
+
1044
993
 
1045
-
994
+
1046
995
 
1047
-
996
+
1048
997
 
1049
-
998
+
1050
999
 
1051
-
1000
+
1052
1001
  <dt class="tag-source">Source:</dt>
1053
- <dd class="tag-source">
1054
- <ul class="dummy">
1055
- <li>
1056
- <a href="devices_tachomotor.js.html">devices/tachomotor.js</a>, <a href="devices_tachomotor.js.html#line73">line 73</a>
1057
- </li>
1058
- </ul>
1059
- </dd>
1060
-
1002
+ <dd class="tag-source"><ul class="dummy"><li>
1003
+ <a href="devices_tachomotor.js.html">devices/tachomotor.js</a>, <a href="devices_tachomotor.js.html#line77">line 77</a>
1004
+ </li></ul></dd>
1005
+
1061
1006
 
1062
-
1007
+
1063
1008
 
1064
-
1009
+
1065
1010
 
1066
-
1011
+
1067
1012
  </dl>
1068
1013
 
1069
1014
 
@@ -1079,31 +1024,52 @@
1079
1024
 
1080
1025
 
1081
1026
 
1082
-
1027
+
1028
+ <h5>Returns:</h5>
1029
+
1030
+
1031
+ <div class="param-desc">
1032
+ <p>Resolved upon successful completion of command (ie. once the motor is finished).</p>
1033
+ </div>
1034
+
1035
+
1036
+
1037
+ <dl>
1038
+ <dt>
1039
+ Type
1040
+ </dt>
1041
+ <dd>
1083
1042
 
1043
+ <span class="param-type">Promise</span>
1044
+
1045
+
1046
+ </dd>
1047
+ </dl>
1048
+
1049
+
1084
1050
 
1085
1051
 
1086
-
1087
1052
 
1088
- <span class='name-container'>
1089
- <a class="link-icon" href="#setBrakingStyle">
1090
- <svg height="20" width="20" style="fill: black;">
1091
- <use xlink:href="#linkIcon"></use>
1092
- </svg>
1093
- </a>
1094
- <h4 class="name" id="setBrakingStyle">
1095
- <span class="type-signature"></span>setBrakingStyle<span class="signature">(style)</span><span class="type-signature"></span>
1096
- </h4>
1097
- </span>
1098
1053
 
1099
-
1100
1054
 
1055
+
1056
+
1057
+
1058
+
1059
+
1060
+
1061
+ <h4 class="name" id="setBrakingStyle"><span class="type-signature"></span>setBrakingStyle<span class="signature">(style)</span><span class="type-signature"></span></h4>
1062
+
1063
+
1064
+
1101
1065
 
1102
1066
 
1103
- <div class="description">
1067
+
1068
+ <div class="description">
1104
1069
  <p>Set the braking style of the motor.</p>
1105
1070
  <p>Note: This applies to setSpeed, rotateByDegrees, and gotoAngle.</p>
1106
- </div>
1071
+ </div>
1072
+
1107
1073
 
1108
1074
 
1109
1075
 
@@ -1111,115 +1077,103 @@
1111
1077
 
1112
1078
 
1113
1079
 
1114
- <h5>Parameters:</h5>
1115
-
1080
+
1081
+ <h5>Parameters:</h5>
1082
+
1116
1083
 
1117
1084
  <table class="params">
1118
- <thead>
1085
+ <thead>
1119
1086
  <tr>
1120
-
1087
+
1121
1088
  <th>Name</th>
1122
-
1089
+
1123
1090
 
1124
- <th>Type</th>
1091
+ <th>Type</th>
1125
1092
 
1126
-
1093
+
1127
1094
 
1128
-
1095
+
1129
1096
 
1130
- <th class="last">Description</th>
1097
+ <th class="last">Description</th>
1131
1098
  </tr>
1132
- </thead>
1099
+ </thead>
1133
1100
 
1134
- <tbody>
1101
+ <tbody>
1135
1102
 
1136
- <tr>
1137
-
1138
- <td class="name"><code>style</code></td>
1139
-
1140
1103
 
1141
- <td class="type">
1142
-
1104
+ <tr>
1105
+
1106
+ <td class="name"><code>style</code></td>
1143
1107
 
1144
- <span class="param-type">
1145
- number
1146
- </span>
1147
1108
 
1148
-
1109
+ <td class="type">
1110
+
1111
+
1112
+ <span class="param-type">number</span>
1149
1113
 
1150
1114
 
1151
-
1152
- </td>
1115
+
1116
+ </td>
1153
1117
 
1154
-
1118
+
1155
1119
 
1156
-
1120
+
1157
1121
 
1158
- <td class="description last">
1159
- <p>Either BRAKE or HOLD</p>
1160
-
1161
- </td>
1162
- </tr>
1122
+ <td class="description last"><p>Either BRAKE or HOLD</p></td>
1123
+ </tr>
1163
1124
 
1164
1125
 
1165
- </tbody>
1126
+ </tbody>
1166
1127
  </table>
1167
1128
 
1168
1129
 
1169
1130
 
1170
1131
 
1171
1132
 
1133
+
1172
1134
  <dl class="details">
1173
1135
 
1174
-
1136
+
1175
1137
 
1176
-
1138
+
1177
1139
 
1178
-
1140
+
1179
1141
  <dt class="inherited-from">Inherited From:</dt>
1180
- <dd class="inherited-from">
1181
- <ul class="dummy">
1182
- <li>
1183
- <a href="TachoMotor.html#setBrakingStyle">TachoMotor#setBrakingStyle</a>
1184
- </li>
1185
- </ul>
1186
- </dd>
1187
-
1142
+ <dd class="inherited-from"><ul class="dummy"><li>
1143
+ <a href="TachoMotor.html#setBrakingStyle">TachoMotor#setBrakingStyle</a>
1144
+ </li></ul></dd>
1145
+
1188
1146
 
1189
-
1147
+
1190
1148
 
1191
-
1149
+
1192
1150
 
1193
-
1151
+
1194
1152
 
1195
-
1153
+
1196
1154
 
1197
-
1155
+
1198
1156
 
1199
-
1157
+
1200
1158
 
1201
-
1159
+
1202
1160
 
1203
-
1161
+
1204
1162
 
1205
-
1163
+
1206
1164
 
1207
-
1165
+
1208
1166
  <dt class="tag-source">Source:</dt>
1209
- <dd class="tag-source">
1210
- <ul class="dummy">
1211
- <li>
1212
- <a href="devices_tachomotor.js.html">devices/tachomotor.js</a>, <a href="devices_tachomotor.js.html#line53">line 53</a>
1213
- </li>
1214
- </ul>
1215
- </dd>
1216
-
1167
+ <dd class="tag-source"><ul class="dummy"><li>
1168
+ <a href="devices_tachomotor.js.html">devices/tachomotor.js</a>, <a href="devices_tachomotor.js.html#line57">line 57</a>
1169
+ </li></ul></dd>
1170
+
1217
1171
 
1218
-
1172
+
1219
1173
 
1220
-
1174
+
1221
1175
 
1222
-
1176
+
1223
1177
  </dl>
1224
1178
 
1225
1179
 
@@ -1235,30 +1189,29 @@
1235
1189
 
1236
1190
 
1237
1191
 
1238
-
1239
-
1240
1192
 
1241
1193
 
1242
-
1243
1194
 
1244
- <span class='name-container'>
1245
- <a class="link-icon" href="#setDecelerationTime">
1246
- <svg height="20" width="20" style="fill: black;">
1247
- <use xlink:href="#linkIcon"></use>
1248
- </svg>
1249
- </a>
1250
- <h4 class="name" id="setDecelerationTime">
1251
- <span class="type-signature"></span>setDecelerationTime<span class="signature">(time)</span><span class="type-signature"> &rarr; {Promise}</span>
1252
- </h4>
1253
- </span>
1254
1195
 
1255
-
1256
1196
 
1257
1197
 
1198
+
1199
+
1200
+
1201
+
1202
+
1203
+
1204
+ <h4 class="name" id="setDecelerationTime"><span class="type-signature"></span>setDecelerationTime<span class="signature">(time)</span><span class="type-signature"> &rarr; {Promise}</span></h4>
1205
+
1206
+
1207
+
1258
1208
 
1259
- <div class="description">
1209
+
1210
+
1211
+ <div class="description">
1260
1212
  <p>Set the global deceleration time</p>
1261
- </div>
1213
+ </div>
1214
+
1262
1215
 
1263
1216
 
1264
1217
 
@@ -1266,115 +1219,103 @@
1266
1219
 
1267
1220
 
1268
1221
 
1269
- <h5>Parameters:</h5>
1270
-
1222
+
1223
+ <h5>Parameters:</h5>
1224
+
1271
1225
 
1272
1226
  <table class="params">
1273
- <thead>
1227
+ <thead>
1274
1228
  <tr>
1275
-
1229
+
1276
1230
  <th>Name</th>
1277
-
1231
+
1278
1232
 
1279
- <th>Type</th>
1233
+ <th>Type</th>
1280
1234
 
1281
-
1235
+
1282
1236
 
1283
-
1237
+
1284
1238
 
1285
- <th class="last">Description</th>
1239
+ <th class="last">Description</th>
1286
1240
  </tr>
1287
- </thead>
1241
+ </thead>
1288
1242
 
1289
- <tbody>
1243
+ <tbody>
1290
1244
 
1291
- <tr>
1292
-
1293
- <td class="name"><code>time</code></td>
1294
-
1295
1245
 
1296
- <td class="type">
1297
-
1246
+ <tr>
1247
+
1248
+ <td class="name"><code>time</code></td>
1298
1249
 
1299
- <span class="param-type">
1300
- number
1301
- </span>
1302
1250
 
1303
-
1251
+ <td class="type">
1252
+
1253
+
1254
+ <span class="param-type">number</span>
1304
1255
 
1305
1256
 
1306
-
1307
- </td>
1257
+
1258
+ </td>
1308
1259
 
1309
-
1260
+
1310
1261
 
1311
-
1262
+
1312
1263
 
1313
- <td class="description last">
1314
- <p>How long deceleration should last (in milliseconds).</p>
1315
-
1316
- </td>
1317
- </tr>
1264
+ <td class="description last"><p>How long deceleration should last (in milliseconds).</p></td>
1265
+ </tr>
1318
1266
 
1319
1267
 
1320
- </tbody>
1268
+ </tbody>
1321
1269
  </table>
1322
1270
 
1323
1271
 
1324
1272
 
1325
1273
 
1326
1274
 
1275
+
1327
1276
  <dl class="details">
1328
1277
 
1329
-
1278
+
1330
1279
 
1331
-
1280
+
1332
1281
 
1333
-
1282
+
1334
1283
  <dt class="inherited-from">Inherited From:</dt>
1335
- <dd class="inherited-from">
1336
- <ul class="dummy">
1337
- <li>
1338
- <a href="TachoMotor.html#setDecelerationTime">TachoMotor#setDecelerationTime</a>
1339
- </li>
1340
- </ul>
1341
- </dd>
1342
-
1284
+ <dd class="inherited-from"><ul class="dummy"><li>
1285
+ <a href="TachoMotor.html#setDecelerationTime">TachoMotor#setDecelerationTime</a>
1286
+ </li></ul></dd>
1287
+
1343
1288
 
1344
-
1289
+
1345
1290
 
1346
-
1291
+
1347
1292
 
1348
-
1293
+
1349
1294
 
1350
-
1295
+
1351
1296
 
1352
-
1297
+
1353
1298
 
1354
-
1299
+
1355
1300
 
1356
-
1301
+
1357
1302
 
1358
-
1303
+
1359
1304
 
1360
-
1305
+
1361
1306
 
1362
-
1307
+
1363
1308
  <dt class="tag-source">Source:</dt>
1364
- <dd class="tag-source">
1365
- <ul class="dummy">
1366
- <li>
1367
- <a href="devices_tachomotor.js.html">devices/tachomotor.js</a>, <a href="devices_tachomotor.js.html#line84">line 84</a>
1368
- </li>
1369
- </ul>
1370
- </dd>
1371
-
1309
+ <dd class="tag-source"><ul class="dummy"><li>
1310
+ <a href="devices_tachomotor.js.html">devices/tachomotor.js</a>, <a href="devices_tachomotor.js.html#line88">line 88</a>
1311
+ </li></ul></dd>
1312
+
1372
1313
 
1373
-
1314
+
1374
1315
 
1375
-
1316
+
1376
1317
 
1377
-
1318
+
1378
1319
  </dl>
1379
1320
 
1380
1321
 
@@ -1390,31 +1331,51 @@
1390
1331
 
1391
1332
 
1392
1333
 
1393
-
1334
+
1335
+ <h5>Returns:</h5>
1336
+
1337
+
1338
+ <div class="param-desc">
1339
+ <p>Resolved upon successful completion of command (ie. once the motor is finished).</p>
1340
+ </div>
1341
+
1342
+
1343
+
1344
+ <dl>
1345
+ <dt>
1346
+ Type
1347
+ </dt>
1348
+ <dd>
1394
1349
 
1350
+ <span class="param-type">Promise</span>
1351
+
1352
+
1353
+ </dd>
1354
+ </dl>
1395
1355
 
1356
+
1357
+
1358
+
1359
+
1360
+
1361
+
1362
+
1363
+
1396
1364
 
1397
-
1365
+
1398
1366
 
1399
- <span class='name-container'>
1400
- <a class="link-icon" href="#setMaxPower">
1401
- <svg height="20" width="20" style="fill: black;">
1402
- <use xlink:href="#linkIcon"></use>
1403
- </svg>
1404
- </a>
1405
- <h4 class="name" id="setMaxPower">
1406
- <span class="type-signature"></span>setMaxPower<span class="signature">(style)</span><span class="type-signature"></span>
1407
- </h4>
1408
- </span>
1367
+
1368
+ <h4 class="name" id="setMaxPower"><span class="type-signature"></span>setMaxPower<span class="signature">(style)</span><span class="type-signature"></span></h4>
1369
+
1409
1370
 
1410
-
1371
+
1411
1372
 
1412
1373
 
1413
1374
 
1414
- <div class="description">
1375
+ <div class="description">
1415
1376
  <p>Set the max power of the motor.</p>
1416
1377
  <p>Note: This applies to setSpeed, rotateByDegrees, and gotoAngle.</p>
1417
- </div>
1378
+ </div>
1418
1379
 
1419
1380
 
1420
1381
 
@@ -1422,115 +1383,104 @@
1422
1383
 
1423
1384
 
1424
1385
 
1425
- <h5>Parameters:</h5>
1426
-
1386
+
1387
+
1388
+ <h5>Parameters:</h5>
1389
+
1427
1390
 
1428
1391
  <table class="params">
1429
- <thead>
1392
+ <thead>
1430
1393
  <tr>
1431
-
1394
+
1432
1395
  <th>Name</th>
1433
-
1396
+
1434
1397
 
1435
- <th>Type</th>
1398
+ <th>Type</th>
1436
1399
 
1437
-
1400
+
1438
1401
 
1439
-
1402
+
1440
1403
 
1441
- <th class="last">Description</th>
1404
+ <th class="last">Description</th>
1442
1405
  </tr>
1443
- </thead>
1406
+ </thead>
1444
1407
 
1445
- <tbody>
1408
+ <tbody>
1446
1409
 
1447
- <tr>
1448
-
1449
- <td class="name"><code>style</code></td>
1450
-
1451
1410
 
1452
- <td class="type">
1453
-
1411
+ <tr>
1412
+
1413
+ <td class="name"><code>style</code></td>
1454
1414
 
1455
- <span class="param-type">
1456
- number
1457
- </span>
1458
1415
 
1459
-
1416
+ <td class="type">
1417
+
1418
+
1419
+ <span class="param-type">number</span>
1460
1420
 
1461
1421
 
1462
-
1463
- </td>
1422
+
1423
+ </td>
1464
1424
 
1465
-
1425
+
1466
1426
 
1467
-
1427
+
1468
1428
 
1469
- <td class="description last">
1470
- <p>Either BRAKE or HOLD</p>
1471
-
1472
- </td>
1473
- </tr>
1429
+ <td class="description last"><p>Either BRAKE or HOLD</p></td>
1430
+ </tr>
1474
1431
 
1475
1432
 
1476
- </tbody>
1433
+ </tbody>
1477
1434
  </table>
1478
1435
 
1479
1436
 
1480
1437
 
1481
1438
 
1482
1439
 
1440
+
1483
1441
  <dl class="details">
1484
1442
 
1485
-
1443
+
1486
1444
 
1487
-
1445
+
1488
1446
 
1489
-
1447
+
1490
1448
  <dt class="inherited-from">Inherited From:</dt>
1491
- <dd class="inherited-from">
1492
- <ul class="dummy">
1493
- <li>
1494
- <a href="TachoMotor.html#setMaxPower">TachoMotor#setMaxPower</a>
1495
- </li>
1496
- </ul>
1497
- </dd>
1498
-
1449
+ <dd class="inherited-from"><ul class="dummy"><li>
1450
+ <a href="TachoMotor.html#setMaxPower">TachoMotor#setMaxPower</a>
1451
+ </li></ul></dd>
1452
+
1499
1453
 
1500
-
1454
+
1501
1455
 
1502
-
1456
+
1503
1457
 
1504
-
1458
+
1505
1459
 
1506
-
1460
+
1507
1461
 
1508
-
1462
+
1509
1463
 
1510
-
1464
+
1511
1465
 
1512
-
1466
+
1513
1467
 
1514
-
1468
+
1515
1469
 
1516
-
1470
+
1517
1471
 
1518
-
1472
+
1519
1473
  <dt class="tag-source">Source:</dt>
1520
- <dd class="tag-source">
1521
- <ul class="dummy">
1522
- <li>
1523
- <a href="devices_tachomotor.js.html">devices/tachomotor.js</a>, <a href="devices_tachomotor.js.html#line63">line 63</a>
1524
- </li>
1525
- </ul>
1526
- </dd>
1527
-
1474
+ <dd class="tag-source"><ul class="dummy"><li>
1475
+ <a href="devices_tachomotor.js.html">devices/tachomotor.js</a>, <a href="devices_tachomotor.js.html#line67">line 67</a>
1476
+ </li></ul></dd>
1477
+
1528
1478
 
1529
-
1479
+
1530
1480
 
1531
-
1481
+
1532
1482
 
1533
-
1483
+
1534
1484
  </dl>
1535
1485
 
1536
1486
 
@@ -1546,30 +1496,30 @@
1546
1496
 
1547
1497
 
1548
1498
 
1549
-
1550
-
1551
1499
 
1552
1500
 
1553
-
1554
1501
 
1555
- <span class='name-container'>
1556
- <a class="link-icon" href="#setSpeed">
1557
- <svg height="20" width="20" style="fill: black;">
1558
- <use xlink:href="#linkIcon"></use>
1559
- </svg>
1560
- </a>
1561
- <h4 class="name" id="setSpeed">
1562
- <span class="type-signature"></span>setSpeed<span class="signature">(speed, time)</span><span class="type-signature"> &rarr; {Promise}</span>
1563
- </h4>
1564
- </span>
1565
1502
 
1566
-
1503
+
1504
+
1505
+
1506
+
1507
+
1508
+
1509
+
1510
+
1511
+ <h4 class="name" id="setSpeed"><span class="type-signature"></span>setSpeed<span class="signature">(speed, time)</span><span class="type-signature"> &rarr; {Promise}</span></h4>
1512
+
1513
+
1514
+
1567
1515
 
1568
1516
 
1569
1517
 
1570
- <div class="description">
1518
+ <div class="description">
1571
1519
  <p>Set the motor speed.</p>
1572
- </div>
1520
+ </div>
1521
+
1522
+
1573
1523
 
1574
1524
 
1575
1525
 
@@ -1577,144 +1527,125 @@
1577
1527
 
1578
1528
 
1579
1529
 
1580
- <h5>Parameters:</h5>
1581
-
1530
+ <h5>Parameters:</h5>
1531
+
1582
1532
 
1583
1533
  <table class="params">
1584
- <thead>
1534
+ <thead>
1585
1535
  <tr>
1586
-
1536
+
1587
1537
  <th>Name</th>
1588
-
1538
+
1589
1539
 
1590
- <th>Type</th>
1540
+ <th>Type</th>
1591
1541
 
1592
-
1542
+
1593
1543
 
1594
-
1544
+
1595
1545
 
1596
- <th class="last">Description</th>
1546
+ <th class="last">Description</th>
1597
1547
  </tr>
1598
- </thead>
1548
+ </thead>
1599
1549
 
1600
- <tbody>
1550
+ <tbody>
1601
1551
 
1602
- <tr>
1603
-
1604
- <td class="name"><code>speed</code></td>
1605
-
1606
1552
 
1607
- <td class="type">
1608
-
1553
+ <tr>
1554
+
1555
+ <td class="name"><code>speed</code></td>
1609
1556
 
1610
- <span class="param-type">
1611
- number
1612
- </span>
1613
1557
 
1614
-
1558
+ <td class="type">
1559
+
1560
+
1561
+ <span class="param-type">number</span>
1615
1562
 
1616
1563
 
1617
-
1618
- </td>
1564
+
1565
+ </td>
1619
1566
 
1620
-
1567
+
1621
1568
 
1622
-
1569
+
1623
1570
 
1624
- <td class="description last">
1625
- <p>For forward, a value between 1 - 100 should be set. For reverse, a value between -1 to -100. Stop is 0.</p>
1626
-
1627
- </td>
1628
- </tr>
1571
+ <td class="description last"><p>For forward, a value between 1 - 100 should be set. For reverse, a value between -1 to -100. Stop is 0.</p></td>
1572
+ </tr>
1629
1573
 
1630
1574
 
1631
- <tr>
1632
-
1633
- <td class="name"><code>time</code></td>
1634
-
1635
1575
 
1636
- <td class="type">
1637
-
1576
+ <tr>
1577
+
1578
+ <td class="name"><code>time</code></td>
1638
1579
 
1639
- <span class="param-type">
1640
- number
1641
- </span>
1642
1580
 
1643
-
1581
+ <td class="type">
1582
+
1583
+
1584
+ <span class="param-type">number</span>
1644
1585
 
1645
1586
 
1646
-
1647
- </td>
1587
+
1588
+ </td>
1648
1589
 
1649
-
1590
+
1650
1591
 
1651
-
1592
+
1652
1593
 
1653
- <td class="description last">
1654
- <p>How long the motor should run for (in milliseconds).</p>
1655
-
1656
- </td>
1657
- </tr>
1594
+ <td class="description last"><p>How long the motor should run for (in milliseconds).</p></td>
1595
+ </tr>
1658
1596
 
1659
1597
 
1660
- </tbody>
1598
+ </tbody>
1661
1599
  </table>
1662
1600
 
1663
1601
 
1664
1602
 
1665
1603
 
1666
1604
 
1605
+
1667
1606
  <dl class="details">
1668
1607
 
1669
-
1608
+
1670
1609
 
1671
-
1610
+
1672
1611
 
1673
-
1612
+
1674
1613
  <dt class="inherited-from">Inherited From:</dt>
1675
- <dd class="inherited-from">
1676
- <ul class="dummy">
1677
- <li>
1678
- <a href="TachoMotor.html#setSpeed">TachoMotor#setSpeed</a>
1679
- </li>
1680
- </ul>
1681
- </dd>
1682
-
1614
+ <dd class="inherited-from"><ul class="dummy"><li>
1615
+ <a href="TachoMotor.html#setSpeed">TachoMotor#setSpeed</a>
1616
+ </li></ul></dd>
1617
+
1683
1618
 
1684
-
1619
+
1685
1620
 
1686
-
1621
+
1687
1622
 
1688
-
1623
+
1689
1624
 
1690
-
1625
+
1691
1626
 
1692
-
1627
+
1693
1628
 
1694
-
1629
+
1695
1630
 
1696
-
1631
+
1697
1632
 
1698
-
1633
+
1699
1634
 
1700
-
1635
+
1701
1636
 
1702
-
1637
+
1703
1638
  <dt class="tag-source">Source:</dt>
1704
- <dd class="tag-source">
1705
- <ul class="dummy">
1706
- <li>
1707
- <a href="devices_tachomotor.js.html">devices/tachomotor.js</a>, <a href="devices_tachomotor.js.html#line95">line 95</a>
1708
- </li>
1709
- </ul>
1710
- </dd>
1711
-
1639
+ <dd class="tag-source"><ul class="dummy"><li>
1640
+ <a href="devices_tachomotor.js.html">devices/tachomotor.js</a>, <a href="devices_tachomotor.js.html#line99">line 99</a>
1641
+ </li></ul></dd>
1642
+
1712
1643
 
1713
-
1644
+
1714
1645
 
1715
-
1646
+
1716
1647
 
1717
-
1648
+
1718
1649
  </dl>
1719
1650
 
1720
1651
 
@@ -1730,154 +1661,173 @@
1730
1661
 
1731
1662
 
1732
1663
 
1733
-
1664
+
1665
+ <h5>Returns:</h5>
1666
+
1667
+
1668
+ <div class="param-desc">
1669
+ <p>Resolved upon successful issuance of the command.</p>
1670
+ </div>
1671
+
1672
+
1673
+
1674
+ <dl>
1675
+ <dt>
1676
+ Type
1677
+ </dt>
1678
+ <dd>
1679
+
1680
+ <span class="param-type">Promise</span>
1681
+
1682
+
1683
+ </dd>
1684
+ </dl>
1685
+
1734
1686
 
1735
1687
 
1688
+
1689
+
1690
+
1691
+
1692
+
1736
1693
 
1737
1694
 
1738
1695
 
1739
- <h3 class="subsection-title">Events</h3>
1740
1696
 
1741
-
1742
-
1697
+
1698
+ <h3 class="subsection-title">Events</h3>
1743
1699
 
1700
+
1701
+
1744
1702
 
1745
-
1703
+
1746
1704
 
1747
- <span class='name-container'>
1748
- <a class="link-icon" href="#event:absolute">
1749
- <svg height="20" width="20" style="fill: black;">
1750
- <use xlink:href="#linkIcon"></use>
1751
- </svg>
1752
- </a>
1753
- <h4 class="name" id="event:absolute">
1754
- <span class="type-signature"></span>absolute<span class="type-signature"> :object</span>
1755
- </h4>
1756
- </span>
1705
+
1706
+ <h4 class="name" id="event:absolute">absolute</h4>
1707
+
1757
1708
 
1758
-
1709
+
1759
1710
 
1760
1711
 
1761
1712
 
1762
- <div class="description">
1713
+ <div class="description">
1763
1714
  <p>Emits when a the motors absolute position is changed.</p>
1764
- </div>
1715
+ </div>
1716
+
1765
1717
 
1766
1718
 
1767
1719
 
1768
1720
 
1721
+ <h5>Type:</h5>
1722
+ <ul>
1723
+ <li>
1724
+
1725
+ <span class="param-type">object</span>
1726
+
1727
+
1728
+ </li>
1729
+ </ul>
1730
+
1731
+
1769
1732
 
1770
1733
 
1771
1734
 
1772
- <h5>Parameters:</h5>
1773
-
1735
+ <h5>Parameters:</h5>
1736
+
1774
1737
 
1775
1738
  <table class="params">
1776
- <thead>
1739
+ <thead>
1777
1740
  <tr>
1778
-
1741
+
1779
1742
  <th>Name</th>
1780
-
1743
+
1781
1744
 
1782
- <th>Type</th>
1745
+ <th>Type</th>
1783
1746
 
1784
-
1747
+
1785
1748
 
1786
-
1749
+
1787
1750
 
1788
- <th class="last">Description</th>
1751
+ <th class="last">Description</th>
1789
1752
  </tr>
1790
- </thead>
1753
+ </thead>
1791
1754
 
1792
- <tbody>
1755
+ <tbody>
1793
1756
 
1794
- <tr>
1795
-
1796
- <td class="name"><code>absolute</code></td>
1797
-
1798
1757
 
1799
- <td class="type">
1800
-
1758
+ <tr>
1759
+
1760
+ <td class="name"><code>absolute</code></td>
1801
1761
 
1802
- <span class="param-type">
1803
- number
1804
- </span>
1805
1762
 
1806
-
1763
+ <td class="type">
1764
+
1765
+
1766
+ <span class="param-type">number</span>
1807
1767
 
1808
1768
 
1809
-
1810
- </td>
1769
+
1770
+ </td>
1811
1771
 
1812
-
1772
+
1813
1773
 
1814
-
1774
+
1815
1775
 
1816
- <td class="description last">
1817
-
1818
-
1819
- </td>
1820
- </tr>
1776
+ <td class="description last"></td>
1777
+ </tr>
1821
1778
 
1822
1779
 
1823
- </tbody>
1780
+ </tbody>
1824
1781
  </table>
1825
1782
 
1826
1783
 
1827
1784
 
1828
1785
 
1829
1786
 
1787
+
1830
1788
  <dl class="details">
1831
1789
 
1832
-
1790
+
1833
1791
 
1834
-
1792
+
1835
1793
 
1836
-
1794
+
1837
1795
  <dt class="inherited-from">Inherited From:</dt>
1838
- <dd class="inherited-from">
1839
- <ul class="dummy">
1840
- <li>
1841
- <a href="AbsoluteMotor.html#event:absolute">AbsoluteMotor#event:absolute</a>
1842
- </li>
1843
- </ul>
1844
- </dd>
1845
-
1796
+ <dd class="inherited-from"><ul class="dummy"><li>
1797
+ <a href="AbsoluteMotor.html#event:absolute">AbsoluteMotor#event:absolute</a>
1798
+ </li></ul></dd>
1799
+
1846
1800
 
1847
-
1801
+
1848
1802
 
1849
-
1803
+
1850
1804
 
1851
-
1805
+
1852
1806
 
1853
-
1807
+
1854
1808
 
1855
-
1809
+
1856
1810
 
1857
-
1811
+
1858
1812
 
1859
-
1813
+
1860
1814
 
1861
-
1815
+
1862
1816
 
1863
-
1817
+
1864
1818
 
1865
-
1819
+
1866
1820
  <dt class="tag-source">Source:</dt>
1867
- <dd class="tag-source">
1868
- <ul class="dummy">
1869
- <li>
1870
- <a href="devices_absolutemotor.js.html">devices/absolutemotor.js</a>, <a href="devices_absolutemotor.js.html#line39">line 39</a>
1871
- </li>
1872
- </ul>
1873
- </dd>
1874
-
1821
+ <dd class="tag-source"><ul class="dummy"><li>
1822
+ <a href="devices_absolutemotor.js.html">devices/absolutemotor.js</a>, <a href="devices_absolutemotor.js.html#line43">line 43</a>
1823
+ </li></ul></dd>
1824
+
1875
1825
 
1876
-
1826
+
1877
1827
 
1878
-
1828
+
1879
1829
 
1880
-
1830
+
1881
1831
  </dl>
1882
1832
 
1883
1833
 
@@ -1893,146 +1843,143 @@
1893
1843
 
1894
1844
 
1895
1845
 
1896
-
1897
-
1898
1846
 
1899
1847
 
1900
-
1901
1848
 
1902
- <span class='name-container'>
1903
- <a class="link-icon" href="#event:rotate">
1904
- <svg height="20" width="20" style="fill: black;">
1905
- <use xlink:href="#linkIcon"></use>
1906
- </svg>
1907
- </a>
1908
- <h4 class="name" id="event:rotate">
1909
- <span class="type-signature"></span>rotate<span class="type-signature"> :object</span>
1910
- </h4>
1911
- </span>
1912
1849
 
1913
-
1850
+
1851
+
1852
+
1853
+
1854
+
1855
+
1856
+
1857
+
1858
+ <h4 class="name" id="event:rotate">rotate</h4>
1859
+
1860
+
1861
+
1914
1862
 
1915
1863
 
1916
1864
 
1917
- <div class="description">
1865
+ <div class="description">
1918
1866
  <p>Emits when a rotation sensor is activated.</p>
1919
- </div>
1867
+ </div>
1868
+
1869
+
1870
+
1920
1871
 
1921
1872
 
1873
+ <h5>Type:</h5>
1874
+ <ul>
1875
+ <li>
1876
+
1877
+ <span class="param-type">object</span>
1878
+
1922
1879
 
1880
+ </li>
1881
+ </ul>
1923
1882
 
1924
1883
 
1925
1884
 
1926
1885
 
1927
- <h5>Parameters:</h5>
1928
-
1886
+
1887
+ <h5>Parameters:</h5>
1888
+
1929
1889
 
1930
1890
  <table class="params">
1931
- <thead>
1891
+ <thead>
1932
1892
  <tr>
1933
-
1893
+
1934
1894
  <th>Name</th>
1935
-
1895
+
1936
1896
 
1937
- <th>Type</th>
1897
+ <th>Type</th>
1938
1898
 
1939
-
1899
+
1940
1900
 
1941
-
1901
+
1942
1902
 
1943
- <th class="last">Description</th>
1903
+ <th class="last">Description</th>
1944
1904
  </tr>
1945
- </thead>
1905
+ </thead>
1946
1906
 
1947
- <tbody>
1907
+ <tbody>
1948
1908
 
1949
- <tr>
1950
-
1951
- <td class="name"><code>rotation</code></td>
1952
-
1953
1909
 
1954
- <td class="type">
1955
-
1910
+ <tr>
1911
+
1912
+ <td class="name"><code>rotation</code></td>
1956
1913
 
1957
- <span class="param-type">
1958
- number
1959
- </span>
1960
1914
 
1961
-
1915
+ <td class="type">
1916
+
1917
+
1918
+ <span class="param-type">number</span>
1962
1919
 
1963
1920
 
1964
-
1965
- </td>
1921
+
1922
+ </td>
1966
1923
 
1967
-
1924
+
1968
1925
 
1969
-
1926
+
1970
1927
 
1971
- <td class="description last">
1972
-
1973
-
1974
- </td>
1975
- </tr>
1928
+ <td class="description last"></td>
1929
+ </tr>
1976
1930
 
1977
1931
 
1978
- </tbody>
1932
+ </tbody>
1979
1933
  </table>
1980
1934
 
1981
1935
 
1982
1936
 
1983
1937
 
1984
1938
 
1939
+
1985
1940
  <dl class="details">
1986
1941
 
1987
-
1942
+
1988
1943
 
1989
-
1944
+
1990
1945
 
1991
-
1946
+
1992
1947
  <dt class="inherited-from">Inherited From:</dt>
1993
- <dd class="inherited-from">
1994
- <ul class="dummy">
1995
- <li>
1996
- <a href="TachoMotor.html#event:rotate">TachoMotor#event:rotate</a>
1997
- </li>
1998
- </ul>
1999
- </dd>
2000
-
1948
+ <dd class="inherited-from"><ul class="dummy"><li>
1949
+ <a href="TachoMotor.html#event:rotate">TachoMotor#event:rotate</a>
1950
+ </li></ul></dd>
1951
+
2001
1952
 
2002
-
1953
+
2003
1954
 
2004
-
1955
+
2005
1956
 
2006
-
1957
+
2007
1958
 
2008
-
1959
+
2009
1960
 
2010
-
1961
+
2011
1962
 
2012
-
1963
+
2013
1964
 
2014
-
1965
+
2015
1966
 
2016
-
1967
+
2017
1968
 
2018
-
1969
+
2019
1970
 
2020
-
1971
+
2021
1972
  <dt class="tag-source">Source:</dt>
2022
- <dd class="tag-source">
2023
- <ul class="dummy">
2024
- <li>
2025
- <a href="devices_tachomotor.js.html">devices/tachomotor.js</a>, <a href="devices_tachomotor.js.html#line43">line 43</a>
2026
- </li>
2027
- </ul>
2028
- </dd>
2029
-
1973
+ <dd class="tag-source"><ul class="dummy"><li>
1974
+ <a href="devices_tachomotor.js.html">devices/tachomotor.js</a>, <a href="devices_tachomotor.js.html#line47">line 47</a>
1975
+ </li></ul></dd>
1976
+
2030
1977
 
2031
-
1978
+
2032
1979
 
2033
-
1980
+
2034
1981
 
2035
-
1982
+
2036
1983
  </dl>
2037
1984
 
2038
1985
 
@@ -2048,26 +1995,34 @@
2048
1995
 
2049
1996
 
2050
1997
 
2051
-
1998
+
1999
+
2000
+
2001
+
2002
+
2003
+
2004
+
2052
2005
 
2053
- </article>
2054
- </section>
2006
+ </article>
2055
2007
 
2008
+ </section>
2056
2009
 
2057
2010
 
2058
2011
 
2059
- </div>
2060
2012
 
2061
- <br class="clear">
2013
+ </div>
2062
2014
 
2063
- <footer>
2064
- Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.7</a>
2065
- </footer>
2015
+ <nav>
2016
+ <h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="AbsoluteMotor.html">AbsoluteMotor</a></li><li><a href="BaseHub.html">BaseHub</a></li><li><a href="BasicMotor.html">BasicMotor</a></li><li><a href="ColorDistanceSensor.html">ColorDistanceSensor</a></li><li><a href="CurrentSensor.html">CurrentSensor</a></li><li><a href="Device.html">Device</a></li><li><a href="DuploTrainBase.html">DuploTrainBase</a></li><li><a href="DuploTrainBaseColorSensor.html">DuploTrainBaseColorSensor</a></li><li><a href="DuploTrainBaseMotor.html">DuploTrainBaseMotor</a></li><li><a href="DuploTrainBaseSpeaker.html">DuploTrainBaseSpeaker</a></li><li><a href="DuploTraniBaseSpeedometer.html">DuploTraniBaseSpeedometer</a></li><li><a href="Hub.html">Hub</a></li><li><a href="HubLED.html">HubLED</a></li><li><a href="LPF2Hub.html">LPF2Hub</a></li><li><a href="Light.html">Light</a></li><li><a href="Mario.html">Mario</a></li><li><a href="MarioAccelerometer.html">MarioAccelerometer</a></li><li><a href="MarioBarcodeSensor.html">MarioBarcodeSensor</a></li><li><a href="MarioPantsSensor.html">MarioPantsSensor</a></li><li><a href="MediumLinearMotor.html">MediumLinearMotor</a></li><li><a href="MotionSensor.html">MotionSensor</a></li><li><a href="MoveHub.html">MoveHub</a></li><li><a href="MoveHubMediumLinearMotor.html">MoveHubMediumLinearMotor</a></li><li><a href="MoveHubTiltSensor.html">MoveHubTiltSensor</a></li><li><a href="PiezoBuzzer.html">PiezoBuzzer</a></li><li><a href="PoweredUP.html">PoweredUP</a></li><li><a href="RemoteControl.html">RemoteControl</a></li><li><a href="RemoteControlButton.html">RemoteControlButton</a></li><li><a href="SimpleMediumLinearMotor.html">SimpleMediumLinearMotor</a></li><li><a href="TachoMotor.html">TachoMotor</a></li><li><a href="Technic3x3ColorLightMatrix.html">Technic3x3ColorLightMatrix</a></li><li><a href="TechnicColorSensor.html">TechnicColorSensor</a></li><li><a href="TechnicDistanceSensor.html">TechnicDistanceSensor</a></li><li><a href="TechnicForceSensor.html">TechnicForceSensor</a></li><li><a href="TechnicLargeAngularMotor.html">TechnicLargeAngularMotor</a></li><li><a href="TechnicLargeLinearMotor.html">TechnicLargeLinearMotor</a></li><li><a href="TechnicMediumAngularMotor.html">TechnicMediumAngularMotor</a></li><li><a href="TechnicMediumHub.html">TechnicMediumHub</a></li><li><a href="TechnicMediumHubAccelerometerSensor.html">TechnicMediumHubAccelerometerSensor</a></li><li><a href="TechnicMediumHubGyroSensor.html">TechnicMediumHubGyroSensor</a></li><li><a href="TechnicMediumHubTiltSensor.html">TechnicMediumHubTiltSensor</a></li><li><a href="TechnicSmallAngularMotor.html">TechnicSmallAngularMotor</a></li><li><a href="TechnicXLargeLinearMotor.html">TechnicXLargeLinearMotor</a></li><li><a href="TiltSensor.html">TiltSensor</a></li><li><a href="TrainMotor.html">TrainMotor</a></li><li><a href="VoltageSensor.html">VoltageSensor</a></li><li><a href="WeDo2SmartHub.html">WeDo2SmartHub</a></li></ul><h3>Events</h3><ul><li><a href="AbsoluteMotor.html#event:absolute">absolute</a></li><li><a href="AbsoluteMotor.html#event:rotate">rotate</a></li><li><a href="ColorDistanceSensor.html#event:ambient">ambient</a></li><li><a href="ColorDistanceSensor.html#event:color">color</a></li><li><a href="ColorDistanceSensor.html#event:colorAndDistance">colorAndDistance</a></li><li><a href="ColorDistanceSensor.html#event:distance">distance</a></li><li><a href="ColorDistanceSensor.html#event:distanceCount">distanceCount</a></li><li><a href="ColorDistanceSensor.html#event:reflect">reflect</a></li><li><a href="ColorDistanceSensor.html#event:rgbIntensity">rgbIntensity</a></li><li><a href="CurrentSensor.html#event:current">current</a></li><li><a href="DuploTrainBase.html#event:button">button</a></li><li><a href="DuploTrainBaseColorSensor.html#event:color">color</a></li><li><a href="DuploTrainBaseColorSensor.html#event:intensity">intensity</a></li><li><a href="DuploTrainBaseColorSensor.html#event:reflect">reflect</a></li><li><a href="DuploTrainBaseColorSensor.html#event:rgb">rgb</a></li><li><a href="DuploTrainBaseSpeedometer.html#event:speed">speed</a></li><li><a href="Hub.html#event:attach">attach</a></li><li><a href="Hub.html#event:button">button</a></li><li><a href="Hub.html#event:detach">detach</a></li><li><a href="Hub.html#event:disconnect">disconnect</a></li><li><a href="LPF2Hub.html#event:button">button</a></li><li><a href="Mario.html#event:button">button</a></li><li><a href="MarioAccelerometer.html#event:accel">accel</a></li><li><a href="MarioAccelerometer.html#event:gest">gest</a></li><li><a href="MarioBarcodeSensor.html#event:barcode">barcode</a></li><li><a href="MarioBarcodeSensor.html#event:rgb">rgb</a></li><li><a href="MarioPantsSensor.html#event:pants">pants</a></li><li><a href="MediumLinearMotor.html#event:rotate">rotate</a></li><li><a href="MotionSensor.html#event:distance">distance</a></li><li><a href="MoveHub.html#event:button">button</a></li><li><a href="MoveHubMediumLinearMotor.html#event:rotate">rotate</a></li><li><a href="MoveHubTiltSensor.html#event:tilt">tilt</a></li><li><a href="PoweredUP.html#event:discover">discover</a></li><li><a href="RemoteControl.html#event:button">button</a></li><li><a href="RemoteControlButton.html#event:remoteButton">remoteButton</a></li><li><a href="TachoMotor.html#event:rotate">rotate</a></li><li><a href="TechnicColorSensor.html#event:ambient">ambient</a></li><li><a href="TechnicColorSensor.html#event:color">color</a></li><li><a href="TechnicColorSensor.html#event:reflect">reflect</a></li><li><a href="TechnicDistanceSensor.html#event:distance">distance</a></li><li><a href="TechnicDistanceSensor.html#event:fastDistance">fastDistance</a></li><li><a href="TechnicForceSensor.html#event:force">force</a></li><li><a href="TechnicForceSensor.html#event:tapped">tapped</a></li><li><a href="TechnicForceSensor.html#event:touch">touch</a></li><li><a href="TechnicLargeAngularMotor.html#event:absolute">absolute</a></li><li><a href="TechnicLargeAngularMotor.html#event:rotate">rotate</a></li><li><a href="TechnicLargeLinearMotor.html#event:absolute">absolute</a></li><li><a href="TechnicLargeLinearMotor.html#event:rotate">rotate</a></li><li><a href="TechnicMediumAngularMotor.html#event:absolute">absolute</a></li><li><a href="TechnicMediumAngularMotor.html#event:rotate">rotate</a></li><li><a href="TechnicMediumHub.html#event:button">button</a></li><li><a href="TechnicMediumHubAccelerometerSensor.html#event:accel">accel</a></li><li><a href="TechnicMediumHubGyroSensor.html#event:gyro">gyro</a></li><li><a href="TechnicMediumHubTiltSensor.html#event:impactCount">impactCount</a></li><li><a href="TechnicMediumHubTiltSensor.html#event:tilt">tilt</a></li><li><a href="TechnicSmallAngularMotor.html#event:absolute">absolute</a></li><li><a href="TechnicSmallAngularMotor.html#event:rotate">rotate</a></li><li><a href="TechnicXLargeLinearMotor.html#event:absolute">absolute</a></li><li><a href="TechnicXLargeLinearMotor.html#event:rotate">rotate</a></li><li><a href="TiltSensor.html#event:tilt">tilt</a></li><li><a href="VoltageSensor.html#event:voltage">voltage</a></li><li><a href="WeDo2SmartHub.html#event:button">button</a></li></ul><h3><a href="global.html">Global</a></h3>
2017
+ </nav>
2066
2018
 
2067
- <script src="scripts/linenumber.js"></script>
2068
- <script src="scripts/pagelocation.js"></script>
2019
+ <br class="clear">
2069
2020
 
2070
-
2021
+ <footer>
2022
+ Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.2</a> on Fri Apr 26 2024 00:11:37 GMT+0000 (Coordinated Universal Time)
2023
+ </footer>
2071
2024
 
2025
+ <script> prettyPrint(); </script>
2026
+ <script src="scripts/linenumber.js"> </script>
2072
2027
  </body>
2073
2028
  </html>