You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/LedStrip.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -71,7 +71,7 @@ Enable the Led Strip feature via the GUI under setup.
71
71
Configure the leds from the Led Strip tab in the INAV GUI.
72
72
First setup how the led's are laid out so that you can visualize it later as you configure and so the flight controller knows how many led's there are available.
73
73
74
-
There is a step by step guide on how to use the GUI to configure the Led Strip feature using the GUI http://blog.oscarliang.net/setup-rgb-led-cleanflight/ which was published early 2015 by Oscar Liang which may or may not be up-to-date by the time you read this.
74
+
There is a step by step guide on how to use the GUI to configure the Led Strip feature using the GUI https://oscarliang.com/setup-led-betaflight/ which was published early 2015 by Oscar Liang which may or may not be up-to-date by the time you read this.
75
75
76
76
CLI:
77
77
Enable the `LED_STRIP` feature via the cli:
@@ -605,4 +605,4 @@ This also means that you can make sure that each R,G and B LED in each LED modul
605
605
606
606
After a short delay the LEDs will show the unarmed color sequence and or low-battery warning sequence.
607
607
608
-
Also check that the feature `LED_STRIP` was correctly enabled and that it does not conflict with other features, as above.
608
+
Also check that the feature `LED_STRIP` was correctly enabled and that it does not conflict with other features, as above.
Copy file name to clipboardExpand all lines: docs/development/msp/msp_messages.json
+23Lines changed: 23 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -10829,6 +10829,29 @@
10829
10829
"notes": "Requires `USE_GEOZONE`. Expects 10 bytes (Polygon) or 14 bytes (Circular). Returns error if indexes invalid or if trying to set vertex beyond `vertexCount` defined in `MSP2_INAV_SET_GEOZONE`. Calls `geozoneSetVertex()`. For circular zones, sets center (vertex 0) and radius (vertex 1's latitude).",
10830
10830
"description": "Sets a specific vertex (or center+radius for circular zones) for a Geozone."
10831
10831
},
10832
+
"MSP2_INAV_SET_GVAR": {
10833
+
"code": 8724,
10834
+
"mspv": 2,
10835
+
"request": {
10836
+
"payload": [
10837
+
{
10838
+
"name": "gvarIndex",
10839
+
"ctype": "uint8_t",
10840
+
"desc": "Index of the Global Variable to set",
10841
+
"units": "Index"
10842
+
},
10843
+
{
10844
+
"name": "value",
10845
+
"ctype": "int32_t",
10846
+
"desc": "New value to store (clamped to configured min/max by `gvSet()`)",
10847
+
"units": ""
10848
+
}
10849
+
]
10850
+
},
10851
+
"reply": null,
10852
+
"notes": "Requires `USE_PROGRAMMING_FRAMEWORK`. Expects 5 bytes. Returns error if index is outside `MAX_GLOBAL_VARIABLES`.",
10853
+
"description": "Sets the specified Global Variable (GVAR) to the provided value."
Copy file name to clipboardExpand all lines: docs/development/msp/msp_ref.md
+16-1Lines changed: 16 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,8 @@ For list of enums, see [Enum documentation page](https://github.com/iNavFlight/i
10
10
For current generation code, see [documentation project](https://github.com/xznhj8129/msp_documentation) (temporary until official implementation)
11
11
12
12
13
-
**JSON file rev: 2**
13
+
**JSON file rev: 3
14
+
**
14
15
15
16
**Warning: Verification needed, exercise caution until completely verified for accuracy and cleared, especially for integer signs. Source-based generation/validation is forthcoming. Refer to source for absolute certainty**
16
17
@@ -411,6 +412,7 @@ For current generation code, see [documentation project](https://github.com/xznh
@@ -4492,6 +4494,19 @@ For current generation code, see [documentation project](https://github.com/xznh
4492
4494
4493
4495
**Notes:** Requires `USE_GEOZONE`. Expects 10 bytes (Polygon) or 14 bytes (Circular). Returns error if indexes invalid or if trying to set vertex beyond `vertexCount` defined in `MSP2_INAV_SET_GEOZONE`. Calls `geozoneSetVertex()`. For circular zones, sets center (vertex 0) and radius (vertex 1's latitude).
0 commit comments