Fix ledc.md (#3557)

fixes ledc.channel:fade() syntax.
This commit is contained in:
serg3295 2022-11-11 04:49:16 +03:00 committed by GitHub
parent e3883cd27b
commit f592cf4ee5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -266,7 +266,7 @@ channel:fadewithstep(1000, 10, 10);
Set LEDC fade function.
#### Syntax
`channel:fadewithstep(duty, direction, scale, cycleNum, stepNum [, wait])`
`channel:fade(duty, direction, scale, cycleNum, stepNum [, wait])`
#### Parameters
- `duty` Set the start of the gradient duty.