model.getCurve
Deletes line from specified Input of curently selected model.
Syntax
model.getCurve( curveID )
Parameters
Name | Type | Req | Description |
---|---|---|---|
curveID | number | Curve ID number. Normal Lua index. Use 1 for curve 1, 8 for Input 8 etc. |
Return values
nil
requested curve does not existtable
containing model information with following fields:
| string | Curve name |
| number | Curve type ID number 0 - ??? 1 - ??? 2 - ??? |
| boolean |
|
| number | number of curve's points |
| table | table of points y coordinates values
|
| table | table of points x coordinates values
|
API Status
Avail | Status | Comment | |
---|---|---|---|
BW radios | |||
Color radios |
Change log
EdgeTX version | Change |
---|---|
2.4.0 | Introduced |
2.9.0 | changed curveID index from zero based to normal LUA (starts from 1) |
Examples
Example description