I have quickly pieced together a pde file. My big question is in the last section.
The three lines where I defined a PWMSlope...what do the 3 and 8's at the end of the PWMSlope function do exactly?
AI Sol Nano - PWMSlope Question
-
- Posts: 52
- Joined: Sun Feb 12, 2012 11:16 am
AI Sol Nano - PWMSlope Question
- Attachments
-
- RA_021112_2220.pde
- (2.18 KiB) Downloaded 339 times
Re: AI Sol Nano - PWMSlope Question
Those are the "default" values that get returned / used when the PWMSlope function is in the "off" state. In short, it's the values that get used during the "off" time. Typically that should be the minimum value that your LED drivers can display.
-
- Posts: 52
- Joined: Sun Feb 12, 2012 11:16 am
Re: AI Sol Nano - PWMSlope Question
Thanks for the quick answer, that was driving me crazy!binder wrote:Those are the "default" values that get returned / used when the PWMSlope function is in the "off" state. In short, it's the values that get used during the "off" time. Typically that should be the minimum value that your LED drivers can display.
But since my pde file uses a seperate function for the moonlighting (if, else) it really doesn't matter in my case, does it?
Re: AI Sol Nano - PWMSlope Question
Most likely it does not. If you were concerned about it, you could always change them to 0 but it's highly unlikely that it will be causing any problems or noticeable changes.