Deletes line from specified Input of curently selected model.
model.getCurve( curveID )
Name | Type | Req | Description |
---|---|---|---|
curveID | number | true | Curve ID number. Normal Lua index. Use 1 for curve 1, 8 for Input 8 etc. |
nil
requested curve does not existtable
containing model information with following fields:
Field | Type | Decription |
---|---|---|
name | string | Curve name |
type | number | Curve type ID number 0 - ??? 1 - ??? 2 - ??? |
smooth | boolean | true if curve is smoothed, otherwise false |
points | number | number of curve's points |
y | table | table of points y coordinates valuestable key (number, zero based) - point numbertable value (signed number) - point's y coordonate value |
x | table | table of points x coordinates valuestable key (number, zero based) - point numbertable value (signed number) - point's x coordonate value |
Avail | Status | Comment | |
---|---|---|---|
BW radios | true | ||
Color radios | true |
EdgeTX version | Change |
---|---|
2.4.0 | Introduced |
2.9.0 | changed curveID index from zero based to normal LUA (starts from 1) |
Example description
-- sample script