Fix working with parameters in pyflix examples

PITCH_P parameter was renamed to CTL_P_P
This commit is contained in:
Oleg Kalachev
2026-04-18 05:23:47 +03:00
parent c434107eaf
commit d8591ea2a9
2 changed files with 5 additions and 5 deletions
+2 -2
View File
@@ -117,8 +117,8 @@ Full list of events:
Get and set firmware parameters using `get_param` and `set_param` methods:
```python
pitch_p = flix.get_param('PITCH_P') # get parameter value
flix.set_param('PITCH_P', 5) # set parameter value
pitch_p = flix.get_param('CTL_P_P') # get parameter value
flix.set_param('CTL_P_P', 5) # set parameter value
```
Execute console commands using `cli` method. This method returns the command response: