Unverified Commit f592cf4e authored by serg3295's avatar serg3295 Committed by GitHub
Browse files

Fix ledc.md (#3557)

fixes ledc.channel:fade() syntax.
parent e3883cd2
...@@ -266,7 +266,7 @@ channel:fadewithstep(1000, 10, 10); ...@@ -266,7 +266,7 @@ channel:fadewithstep(1000, 10, 10);
Set LEDC fade function. Set LEDC fade function.
#### Syntax #### Syntax
`channel:fadewithstep(duty, direction, scale, cycleNum, stepNum [, wait])` `channel:fade(duty, direction, scale, cycleNum, stepNum [, wait])`
#### Parameters #### Parameters
- `duty` Set the start of the gradient duty. - `duty` Set the start of the gradient duty.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment